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>
    An

    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.

    Since:
    1.2
    • Constructor Detail

      • BidiObservableMap

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