Class ForwardingSortedSetMultimap<K,V>

    • Constructor Detail

      • ForwardingSortedSetMultimap

        protected ForwardingSortedSetMultimap()
        Constructor for use by subclasses.
    • Method Detail

      • delegate

        protected abstract SortedSetMultimap<K,V> delegate()
        Description copied from class: ForwardingObject
        Returns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such as ForwardingSet.delegate(). Concrete subclasses override this method to supply the instance being decorated.
      • get

        public SortedSet<V> get(K key)
        Description copied from interface: Multimap
        Returns a view collection of the values associated with key in this multimap, if any. Note that when containsKey(key) is false, this returns an empty collection, not null.

        Changes to the returned collection will update the underlying multimap, and vice versa.

      • valueComparator

        public Comparator<? super V> valueComparator()
        Description copied from interface: SortedSetMultimap
        Returns the comparator that orders the multimap values, with null indicating that natural ordering is used.