public final class FlatNavigableSet<E>
extends java.util.AbstractSet<E>
implements java.util.NavigableSet<E>
Constructor and Description |
---|
FlatNavigableSet(java.util.Comparator<? super E> comparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
E |
ceiling(E e) |
java.util.Comparator<? super E> |
comparator() |
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) |
java.util.Iterator<E> |
iterator() |
E |
last() |
E |
lower(E e) |
E |
pollFirst() |
E |
pollLast() |
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) |
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public FlatNavigableSet(java.util.Comparator<? super E> comparator)
public java.util.Comparator<? super E> comparator()
comparator
in interface java.util.SortedSet<E>
public java.util.Iterator<E> iterator()
public int size()
public boolean add(E e)
public java.util.NavigableSet<E> descendingSet()
descendingSet
in interface java.util.NavigableSet<E>
public java.util.Iterator<E> descendingIterator()
descendingIterator
in interface java.util.NavigableSet<E>
public java.util.NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
subSet
in interface java.util.NavigableSet<E>
public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive)
headSet
in interface java.util.NavigableSet<E>
public java.util.NavigableSet<E> tailSet(E fromElement, boolean inclusive)
tailSet
in interface java.util.NavigableSet<E>
Copyright © 2011 JBoss, a division of Red Hat, Inc.