bb.util
Class Collections2.UnmodifiableNavigableSet<E>

java.lang.Object
  extended by bb.util.Unmodifiables.UnmodifiableCollection<E>
      extended by bb.util.Unmodifiables.UnmodifiableSet<E>
          extended by bb.util.Unmodifiables.UnmodifiableSortedSet<E>
              extended by bb.util.Collections2.UnmodifiableNavigableSet<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, NavigableSet<E>, Set<E>, SortedSet<E>
Enclosing class:
Collections2

static class Collections2.UnmodifiableNavigableSet<E>
extends Unmodifiables.UnmodifiableSortedSet<E>
implements NavigableSet<E>, Serializable

See Also:
Serialized Form

Field Summary
private  NavigableSet<E> ns
           
private static long serialVersionUID
           
 
Fields inherited from class bb.util.Unmodifiables.UnmodifiableCollection
c
 
Constructor Summary
Collections2.UnmodifiableNavigableSet(NavigableSet<E> ns)
           
 
Method Summary
 E ceiling(E e)
           
 Iterator<E> descendingIterator()
           
 NavigableSet<E> descendingSet()
           
 E floor(E e)
           
 NavigableSet<E> headSet(E toElement, boolean inclusive)
           
 E higher(E e)
           
 E lower(E e)
           
 E pollFirst()
           
 E pollLast()
           
 NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
           
 NavigableSet<E> tailSet(E fromElement, boolean inclusive)
           
 
Methods inherited from class bb.util.Unmodifiables.UnmodifiableSortedSet
comparator, first, headSet, last, subSet, tailSet
 
Methods inherited from class bb.util.Unmodifiables.UnmodifiableSet
equals, hashCode
 
Methods inherited from class bb.util.Unmodifiables.UnmodifiableCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.NavigableSet
headSet, iterator, subSet, tailSet
 
Methods inherited from interface java.util.SortedSet
comparator, first, last
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

ns

private final NavigableSet<E> ns
Constructor Detail

Collections2.UnmodifiableNavigableSet

Collections2.UnmodifiableNavigableSet(NavigableSet<E> ns)
Method Detail

ceiling

public E ceiling(E e)
Specified by:
ceiling in interface NavigableSet<E>

descendingIterator

public Iterator<E> descendingIterator()
Specified by:
descendingIterator in interface NavigableSet<E>

descendingSet

public NavigableSet<E> descendingSet()
Specified by:
descendingSet in interface NavigableSet<E>

floor

public E floor(E e)
Specified by:
floor in interface NavigableSet<E>

headSet

public NavigableSet<E> headSet(E toElement,
                               boolean inclusive)
Specified by:
headSet in interface NavigableSet<E>

higher

public E higher(E e)
Specified by:
higher in interface NavigableSet<E>

lower

public E lower(E e)
Specified by:
lower in interface NavigableSet<E>

pollFirst

public E pollFirst()
Specified by:
pollFirst in interface NavigableSet<E>

pollLast

public E pollLast()
Specified by:
pollLast in interface NavigableSet<E>

subSet

public NavigableSet<E> subSet(E fromElement,
                              boolean fromInclusive,
                              E toElement,
                              boolean toInclusive)
Specified by:
subSet in interface NavigableSet<E>

tailSet

public NavigableSet<E> tailSet(E fromElement,
                               boolean inclusive)
Specified by:
tailSet in interface NavigableSet<E>