Class TransformingObservableMap<K,VI,VO>

java.lang.Object
com.iamsoft.util.ui.javafx.AbstractObservable
com.iamsoft.util.ui.javafx.collections.AbstractObservableMap<K,VO>
com.iamsoft.util.ui.javafx.collections.TransformingObservableMap<K,VI,VO>
Type Parameters:
K - Key type.
VI - Input value type.
VO - Output value type.
All Implemented Interfaces:
Map<K,VO>, javafx.beans.Observable, javafx.collections.ObservableMap<K,VO>

public class TransformingObservableMap<K,VI,VO> extends AbstractObservableMap<K,VO>
  • Constructor Details

    • TransformingObservableMap

      public TransformingObservableMap(javafx.collections.ObservableMap<K,VI> pDelegate, Function<VI,VO> pTransform)
  • Method Details

    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • containsKey

      public boolean containsKey(Object pKey)
    • containsValue

      public boolean containsValue(Object pVal)
    • get

      public VO get(Object pKey)
    • put

      public VO put(K pKey, VO pVal)
    • remove

      public VO remove(Object pKey)
    • putAll

      public void putAll(Map<? extends K,? extends VO> pMap)
    • clear

      public void clear()
    • keySet

      public Set<K> keySet()
    • values

      public Collection<VO> values()
    • entrySet

      public Set<Map.Entry<K,VO>> entrySet()
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface Map<K,VI>
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object pObj)
      Specified by:
      equals in interface Map<K,VI>
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object