Class ForwardingSortedMap.StandardKeySet

  • All Implemented Interfaces:
    java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>, java.util.SortedSet<K>
    Enclosing class:
    ForwardingSortedMap<K,​V>

    @Beta
    protected class ForwardingSortedMap.StandardKeySet
    extends Maps.SortedKeySet<K,​V>
    A sensible implementation of SortedMap.keySet() in terms of the methods of ForwardingSortedMap. In many cases, you may wish to override ForwardingMap.keySet() to forward to this implementation or a subclass thereof.
    Since:
    15.0
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      StandardKeySet()
      Constructor for use by subclasses.
    • Method Summary

      • Methods inherited from class java.util.AbstractSet

        equals, hashCode
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, containsAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
      • Methods inherited from interface java.util.SortedSet

        spliterator
    • Constructor Detail

      • StandardKeySet

        public StandardKeySet()
        Constructor for use by subclasses.