Class DualTreeBidiMap.ViewMap

  • All Implemented Interfaces:
    java.util.Map, java.util.SortedMap
    Enclosing class:
    DualTreeBidiMap

    protected static class DualTreeBidiMap.ViewMap
    extends AbstractSortedMapDecorator
    Internal sorted map view.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ViewMap​(DualTreeBidiMap bidi, java.util.SortedMap sm)
      Constructor.
    • Constructor Detail

      • ViewMap

        protected ViewMap​(DualTreeBidiMap bidi,
                          java.util.SortedMap sm)
        Constructor.
        Parameters:
        bidi - the parent bidi map
        sm - the subMap sorted map
    • Method Detail

      • containsValue

        public boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface java.util.Map
        Overrides:
        containsValue in class AbstractMapDecorator
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Map
        Overrides:
        clear in class AbstractMapDecorator
      • headMap

        public java.util.SortedMap headMap​(java.lang.Object toKey)
        Specified by:
        headMap in interface java.util.SortedMap
        Overrides:
        headMap in class AbstractSortedMapDecorator
      • tailMap

        public java.util.SortedMap tailMap​(java.lang.Object fromKey)
        Specified by:
        tailMap in interface java.util.SortedMap
        Overrides:
        tailMap in class AbstractSortedMapDecorator
      • subMap

        public java.util.SortedMap subMap​(java.lang.Object fromKey,
                                          java.lang.Object toKey)
        Specified by:
        subMap in interface java.util.SortedMap
        Overrides:
        subMap in class AbstractSortedMapDecorator