Interface Map<K,​V>

    • Method Detail

      • getCount

        int getCount()
        Returns the number of entries in the map.
        Returns:
        Current number of map entries.
      • setComparator

        void setComparator​(java.util.Comparator<K> comparator)
        Description copied from interface: Collection
        Sets the collection's sort order, re-ordering the collection's contents and ensuring that new entries preserve the sort order.

        Calling this method more than once with the same comparator will re-sort the collection.

        Specified by:
        setComparator in interface Collection<K>
        Parameters:
        comparator - The comparator used to order elements in the collection, or null if the collection is unsorted.
        See Also:
        MapListener.comparatorChanged(Map, Comparator)
      • getMapListeners

        ListenerList<MapListener<K,​V>> getMapListeners()
        Returns the map listener collection.
        Returns:
        Current list of listeners on this map.