Class BidiObservableMap<K,​V>

  • Type Parameters:
    K - type of the keys in the map
    V - type of the values in the map
    All Implemented Interfaces:
    Map<K,​V>, IDecoratingObservable, IObservable, IObservableMap<K,​V>

    public class BidiObservableMap<K,​V>
    extends DecoratingObservableMap<K,​V>

    This class is thread safe. All state accessing methods must be invoked from the current realm. Methods for adding and removing listeners may be invoked from any thread.

    • Constructor Detail

      • BidiObservableMap

        public BidiObservableMap​(IObservableMap<K,​V> wrappedMap)
        Constructs a BidirectionalMap tracking the given observable map.
        wrappedMap - the observable map to track