com.google.common.collect
Class ForwardingNavigableMap.StandardNavigableKeySet
java.lang.Object
   java.util.AbstractCollection<E>
java.util.AbstractCollection<E>
       java.util.AbstractSet<K>
java.util.AbstractSet<K>
           com.google.common.collect.ForwardingNavigableMap.StandardNavigableKeySet
com.google.common.collect.ForwardingNavigableMap.StandardNavigableKeySet
- All Implemented Interfaces: 
- Iterable<K>, Collection<K>, NavigableSet<K>, Set<K>, SortedSet<K>
- Enclosing class:
- ForwardingNavigableMap<K,V>
- @Beta
protected class ForwardingNavigableMap.StandardNavigableKeySet 
- extends AbstractSet<K>
A sensible implementation of NavigableMap.navigableKeySet() in terms of the methods of
 this NavigableMap. In many cases, you may wish to override
 ForwardingNavigableMap.navigableKeySet() to forward to this implementation or a subclass
 thereof.
- Since:
- 12.0
 
 
 
 
 
 
| Methods inherited from interface java.util.Set | 
| add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray | 
 
ForwardingNavigableMap.StandardNavigableKeySet
public ForwardingNavigableMap.StandardNavigableKeySet()
- Constructor for use by subclasses.
 
comparator
public Comparator<? super K> comparator()
- 
- Specified by:
- comparatorin interface- SortedSet<K>
 
- 
 
first
public K first()
- 
- Specified by:
- firstin interface- SortedSet<K>
 
- 
 
last
public K last()
- 
- Specified by:
- lastin interface- SortedSet<K>
 
- 
 
lower
public K lower(K e)
- 
- Specified by:
- lowerin interface- NavigableSet<K>
 
- 
 
floor
public K floor(K e)
- 
- Specified by:
- floorin interface- NavigableSet<K>
 
- 
 
ceiling
public K ceiling(K e)
- 
- Specified by:
- ceilingin interface- NavigableSet<K>
 
- 
 
higher
public K higher(K e)
- 
- Specified by:
- higherin interface- NavigableSet<K>
 
- 
 
pollFirst
public K pollFirst()
- 
- Specified by:
- pollFirstin interface- NavigableSet<K>
 
- 
 
pollLast
public K pollLast()
- 
- Specified by:
- pollLastin interface- NavigableSet<K>
 
- 
 
descendingSet
public NavigableSet<K> descendingSet()
- 
- Specified by:
- descendingSetin interface- NavigableSet<K>
 
- 
 
descendingIterator
public Iterator<K> descendingIterator()
- 
- Specified by:
- descendingIteratorin interface- NavigableSet<K>
 
- 
 
subSet
public NavigableSet<K> subSet(K fromElement,
                              boolean fromInclusive,
                              K toElement,
                              boolean toInclusive)
- 
- Specified by:
- subSetin interface- NavigableSet<K>
 
- 
 
headSet
public NavigableSet<K> headSet(K toElement,
                               boolean inclusive)
- 
- Specified by:
- headSetin interface- NavigableSet<K>
 
- 
 
tailSet
public NavigableSet<K> tailSet(K fromElement,
                               boolean inclusive)
- 
- Specified by:
- tailSetin interface- NavigableSet<K>
 
- 
 
subSet
public SortedSet<K> subSet(K fromElement,
                           K toElement)
- 
- Specified by:
- subSetin interface- NavigableSet<K>
- Specified by:
- subSetin interface- SortedSet<K>
 
- 
 
headSet
public SortedSet<K> headSet(K toElement)
- 
- Specified by:
- headSetin interface- NavigableSet<K>
- Specified by:
- headSetin interface- SortedSet<K>
 
- 
 
tailSet
public SortedSet<K> tailSet(K fromElement)
- 
- Specified by:
- tailSetin interface- NavigableSet<K>
- Specified by:
- tailSetin interface- SortedSet<K>
 
- 
 
iterator
public Iterator<K> iterator()
- 
- Specified by:
- iteratorin interface- Iterable<K>
- Specified by:
- iteratorin interface- Collection<K>
- Specified by:
- iteratorin interface- Set<K>
- Specified by:
- iteratorin class- AbstractCollection<K>
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- Collection<K>
- Specified by:
- sizein interface- Set<K>
- Specified by:
- sizein class- AbstractCollection<K>
 
- 
 
isEmpty
public boolean isEmpty()
- 
- Specified by:
- isEmptyin interface- Collection<K>
- Specified by:
- isEmptyin interface- Set<K>
- Overrides:
- isEmptyin class- AbstractCollection<K>
 
- 
 
contains
public boolean contains(Object o)
- 
- Specified by:
- containsin interface- Collection<K>
- Specified by:
- containsin interface- Set<K>
- Overrides:
- containsin class- AbstractCollection<K>
 
- 
 
remove
public boolean remove(Object o)
- 
- Specified by:
- removein interface- Collection<K>
- Specified by:
- removein interface- Set<K>
- Overrides:
- removein class- AbstractCollection<K>
 
- 
 
removeAll
public boolean removeAll(Collection<?> c)
- 
- Specified by:
- removeAllin interface- Collection<K>
- Specified by:
- removeAllin interface- Set<K>
- Overrides:
- removeAllin class- AbstractSet<K>
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- Collection<K>
- Specified by:
- clearin interface- Set<K>
- Overrides:
- clearin class- AbstractCollection<K>
 
- 
 
Copyright © 2010-2012. All Rights Reserved.