com.google.common.collect
Class ForwardingNavigableSet.StandardDescendingSet
java.lang.Object
   com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingObject
       com.google.common.collect.ForwardingCollection<E>
com.google.common.collect.ForwardingCollection<E>
           com.google.common.collect.ForwardingSet<E>
com.google.common.collect.ForwardingSet<E>
               com.google.common.collect.ForwardingSortedSet<E>
com.google.common.collect.ForwardingSortedSet<E>
                   com.google.common.collect.ForwardingNavigableSet<E>
com.google.common.collect.ForwardingNavigableSet<E>
                       com.google.common.collect.ForwardingNavigableSet.StandardDescendingSet
com.google.common.collect.ForwardingNavigableSet.StandardDescendingSet
- All Implemented Interfaces: 
- Iterable<E>, Collection<E>, NavigableSet<E>, Set<E>, SortedSet<E>
- Enclosing class:
- ForwardingNavigableSet<E>
- @Beta
protected class ForwardingNavigableSet.StandardDescendingSet 
- extends ForwardingNavigableSet<E>
A sensible implementation of NavigableSet.descendingSet() in terms of the other methods
 of NavigableSet, notably including NavigableSet.descendingIterator().
 
In many cases, you may wish to override ForwardingNavigableSet.descendingSet() to
 forward to this implementation or a subclass thereof.
- Since:
- 12.0
 
 
 
 
| Methods inherited from class com.google.common.collect.ForwardingNavigableSet | 
| standardCeiling, standardFirst, standardFloor, standardHeadSet, standardHigher, standardLast, standardLower, standardPollFirst, standardPollLast, standardSubSet, standardSubSet, standardTailSet | 
 
 
 
| Methods inherited from class com.google.common.collect.ForwardingCollection | 
| add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContainsAll, standardIsEmpty, standardRetainAll, standardToArray, standardToArray, standardToString | 
 
 
| Methods inherited from interface java.util.Set | 
| add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size | 
 
ForwardingNavigableSet.StandardDescendingSet
public ForwardingNavigableSet.StandardDescendingSet()
- Constructor for use by subclasses.
 
delegate
protected NavigableSet<E> 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.
 
- 
- Specified by:
- delegatein class- ForwardingNavigableSet<E>
 
- 
 
lower
public E lower(E e)
- 
- Specified by:
- lowerin interface- NavigableSet<E>
- Overrides:
- lowerin class- ForwardingNavigableSet<E>
 
- 
 
floor
public E floor(E e)
- 
- Specified by:
- floorin interface- NavigableSet<E>
- Overrides:
- floorin class- ForwardingNavigableSet<E>
 
- 
 
ceiling
public E ceiling(E e)
- 
- Specified by:
- ceilingin interface- NavigableSet<E>
- Overrides:
- ceilingin class- ForwardingNavigableSet<E>
 
- 
 
higher
public E higher(E e)
- 
- Specified by:
- higherin interface- NavigableSet<E>
- Overrides:
- higherin class- ForwardingNavigableSet<E>
 
- 
 
pollFirst
public E pollFirst()
- 
- Specified by:
- pollFirstin interface- NavigableSet<E>
- Overrides:
- pollFirstin class- ForwardingNavigableSet<E>
 
- 
 
pollLast
public E pollLast()
- 
- Specified by:
- pollLastin interface- NavigableSet<E>
- Overrides:
- pollLastin class- ForwardingNavigableSet<E>
 
- 
 
descendingSet
public NavigableSet<E> descendingSet()
- 
- Specified by:
- descendingSetin interface- NavigableSet<E>
- Overrides:
- descendingSetin class- ForwardingNavigableSet<E>
 
- 
 
descendingIterator
public Iterator<E> descendingIterator()
- 
- Specified by:
- descendingIteratorin interface- NavigableSet<E>
- Overrides:
- descendingIteratorin class- ForwardingNavigableSet<E>
 
- 
 
subSet
public NavigableSet<E> subSet(E fromElement,
                              boolean fromInclusive,
                              E toElement,
                              boolean toInclusive)
- 
- Specified by:
- subSetin interface- NavigableSet<E>
- Overrides:
- subSetin class- ForwardingNavigableSet<E>
 
- 
 
headSet
public NavigableSet<E> headSet(E toElement,
                               boolean inclusive)
- 
- Specified by:
- headSetin interface- NavigableSet<E>
- Overrides:
- headSetin class- ForwardingNavigableSet<E>
 
- 
 
tailSet
public NavigableSet<E> tailSet(E fromElement,
                               boolean inclusive)
- 
- Specified by:
- tailSetin interface- NavigableSet<E>
- Overrides:
- tailSetin class- ForwardingNavigableSet<E>
 
- 
 
comparator
public Comparator<? super E> comparator()
- 
- Specified by:
- comparatorin interface- SortedSet<E>
- Overrides:
- comparatorin class- ForwardingSortedSet<E>
 
- 
 
first
public E first()
- 
- Specified by:
- firstin interface- SortedSet<E>
- Overrides:
- firstin class- ForwardingSortedSet<E>
 
- 
 
headSet
public SortedSet<E> headSet(E toElement)
- 
- Specified by:
- headSetin interface- NavigableSet<E>
- Specified by:
- headSetin interface- SortedSet<E>
- Overrides:
- headSetin class- ForwardingSortedSet<E>
 
- 
 
last
public E last()
- 
- Specified by:
- lastin interface- SortedSet<E>
- Overrides:
- lastin class- ForwardingSortedSet<E>
 
- 
 
subSet
public SortedSet<E> subSet(E fromElement,
                           E toElement)
- 
- Specified by:
- subSetin interface- NavigableSet<E>
- Specified by:
- subSetin interface- SortedSet<E>
- Overrides:
- subSetin class- ForwardingSortedSet<E>
 
- 
 
tailSet
public SortedSet<E> tailSet(E fromElement)
- 
- Specified by:
- tailSetin interface- NavigableSet<E>
- Specified by:
- tailSetin interface- SortedSet<E>
- Overrides:
- tailSetin class- ForwardingSortedSet<E>
 
- 
 
iterator
public Iterator<E> iterator()
- 
- Specified by:
- iteratorin interface- Iterable<E>
- Specified by:
- iteratorin interface- Collection<E>
- Specified by:
- iteratorin interface- NavigableSet<E>
- Specified by:
- iteratorin interface- Set<E>
- Overrides:
- iteratorin class- ForwardingCollection<E>
 
- 
 
toArray
public Object[] toArray()
- 
- Specified by:
- toArrayin interface- Collection<E>
- Specified by:
- toArrayin interface- Set<E>
- Overrides:
- toArrayin class- ForwardingCollection<E>
 
- 
 
toArray
public <T> T[] toArray(T[] array)
- 
- Specified by:
- toArrayin interface- Collection<E>
- Specified by:
- toArrayin interface- Set<E>
- Overrides:
- toArrayin class- ForwardingCollection<E>
 
- 
 
toString
public String toString()
- Description copied from class: ForwardingObject
- Returns the string representation generated by the delegate's
 toStringmethod.
 
- 
- Overrides:
- toStringin class- ForwardingObject
 
- 
 
Copyright © 2010-2012. All Rights Reserved.