Class ForwardingSortedMultiset.StandardElementSet

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      E ceiling​(E e)  
      void clear()  
      java.util.Comparator<? super E> comparator()  
      boolean contains​(java.lang.Object o)  
      boolean containsAll​(java.util.Collection<?> c)  
      java.util.Iterator<E> descendingIterator()  
      java.util.NavigableSet<E> descendingSet()  
      E first()  
      E floor​(E e)  
      java.util.SortedSet<E> headSet​(E toElement)  
      java.util.NavigableSet<E> headSet​(E toElement, boolean inclusive)  
      E higher​(E e)  
      boolean isEmpty()  
      java.util.Iterator<E> iterator()  
      E last()  
      E lower​(E e)  
      E pollFirst()  
      E pollLast()  
      boolean remove​(java.lang.Object o)  
      boolean removeAll​(java.util.Collection<?> c)  
      boolean retainAll​(java.util.Collection<?> c)  
      int size()  
      java.util.NavigableSet<E> subSet​(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)  
      java.util.SortedSet<E> subSet​(E fromElement, E toElement)  
      java.util.SortedSet<E> tailSet​(E fromElement)  
      java.util.NavigableSet<E> tailSet​(E fromElement, boolean inclusive)  
      • Methods inherited from class java.util.AbstractSet

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

        add, addAll, 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.NavigableSet

        headSet, iterator, subSet, tailSet
      • Methods inherited from interface java.util.Set

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

        comparator, first, last, spliterator
    • Constructor Detail

    • Method Detail

      • lower

        @CheckForNull
        public E lower​(E e)
        Specified by:
        lower in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • floor

        @CheckForNull
        public E floor​(E e)
        Specified by:
        floor in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • ceiling

        @CheckForNull
        public E ceiling​(E e)
        Specified by:
        ceiling in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • higher

        @CheckForNull
        public E higher​(E e)
        Specified by:
        higher in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • descendingSet

        public java.util.NavigableSet<E> descendingSet()
        Specified by:
        descendingSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • descendingIterator

        public java.util.Iterator<E> descendingIterator()
        Specified by:
        descendingIterator in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • pollFirst

        @CheckForNull
        public E pollFirst()
        Specified by:
        pollFirst in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • pollLast

        @CheckForNull
        public E pollLast()
        Specified by:
        pollLast in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • subSet

        public java.util.NavigableSet<E> subSet​(E fromElement,
                                                boolean fromInclusive,
                                                E toElement,
                                                boolean toInclusive)
        Specified by:
        subSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • headSet

        public java.util.NavigableSet<E> headSet​(E toElement,
                                                 boolean inclusive)
        Specified by:
        headSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • tailSet

        public java.util.NavigableSet<E> tailSet​(E fromElement,
                                                 boolean inclusive)
        Specified by:
        tailSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
      • iterator

        public java.util.Iterator<E> iterator()
        Specified by:
        iterator in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        iterator in interface java.lang.Iterable<E extends @Nullable java.lang.Object>
        Specified by:
        iterator in interface java.util.Set<E extends @Nullable java.lang.Object>
      • comparator

        public java.util.Comparator<? super E> comparator()
        Specified by:
        comparator in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
      • subSet

        public java.util.SortedSet<E> subSet​(E fromElement,
                                             E toElement)
        Specified by:
        subSet in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
      • headSet

        public java.util.SortedSet<E> headSet​(E toElement)
        Specified by:
        headSet in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
      • tailSet

        public java.util.SortedSet<E> tailSet​(E fromElement)
        Specified by:
        tailSet in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
      • first

        public E first()
        Specified by:
        first in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
      • last

        public E last()
        Specified by:
        last in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        clear in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        clear in class java.util.AbstractCollection<E extends @Nullable java.lang.Object>
      • contains

        public boolean contains​(@CheckForNull
                                java.lang.Object o)
        Specified by:
        contains in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        contains in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        contains in class java.util.AbstractCollection<E extends @Nullable java.lang.Object>
      • containsAll

        public boolean containsAll​(java.util.Collection<?> c)
        Specified by:
        containsAll in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        containsAll in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        containsAll in class java.util.AbstractCollection<E extends @Nullable java.lang.Object>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        isEmpty in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        isEmpty in class java.util.AbstractCollection<E extends @Nullable java.lang.Object>
      • remove

        public boolean remove​(@CheckForNull
                              java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        remove in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        remove in class java.util.AbstractCollection<E extends @Nullable java.lang.Object>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        size in interface java.util.Set<E extends @Nullable java.lang.Object>
        Specified by:
        size in class java.util.AbstractCollection<E extends @Nullable java.lang.Object>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> c)
        Specified by:
        removeAll in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        removeAll in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        removeAll in class java.util.AbstractSet<E extends @Nullable java.lang.Object>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> c)
        Specified by:
        retainAll in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        retainAll in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        retainAll in class java.util.AbstractCollection<E extends @Nullable java.lang.Object>