bb.util
Class Collections2.UnmodifiableNavigableSet<E>
java.lang.Object
bb.util.Unmodifiables.UnmodifiableCollection<E>
bb.util.Unmodifiables.UnmodifiableSet<E>
bb.util.Unmodifiables.UnmodifiableSortedSet<E>
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
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 interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
ns
private final NavigableSet<E> ns
Collections2.UnmodifiableNavigableSet
Collections2.UnmodifiableNavigableSet(NavigableSet<E> ns)
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>