E
- @StoreNotUseStandardSerialization @StorableClass public class PDescendingTreeSubSet<E> extends PTreeSubSet<E> implements Serializable
fromElement, fromInclusive, toElement, toInclusive
instanceFactory, treeSupport
Constructor and Description |
---|
PDescendingTreeSubSet(TreeSupport<E> treeSupport,
E fromElement,
boolean fromInclusive,
E toElement,
boolean toInclusive) |
Modifier and Type | Method and Description |
---|---|
E |
ceiling(E element) |
Iterator<E> |
descendingIterator()
revert iteration direction
|
E |
first()
revert first to last
|
E |
floor(E element) |
SortedSet<E> |
headSet(E toElement) |
NavigableSet<E> |
headSet(E toElement,
boolean inclusive) |
E |
higher(E element) |
Iterator<E> |
iterator()
revert iteration direction
|
E |
last()
revert last to first
|
E |
lower(E element) |
static PDescendingTreeSubSet |
newInstance(IInstanceFactory instanceFactory,
TreeSupport treeSupport,
Object fromElement,
boolean fromInclusive,
Object toElement,
boolean toInclusive) |
E |
pollFirst()
revert first to last
|
E |
pollLast()
revert last to first
|
NavigableSet<E> |
subSet(E fromElement,
boolean fromInclusive,
E toElement,
boolean toInclusive) |
SortedSet<E> |
tailSet(E fromElement) |
NavigableSet<E> |
tailSet(E fromElement,
boolean inclusive) |
add, addListerner, clear, contains, descendingListIterator, descendingSet, get, inSubset, isEmpty, listIterator, listIterator, notifyAdded, notifyRemoved, remove, removeListener, size, subSet
addOrReplace, clone, comparator, getComparator, getTree, getTreeSupport, removeAndGetRemoved, setTreeSupport
equals, hashCode, removeAll
addAll, containsAll, retainAll, toArray, toArray, toString
public PDescendingTreeSubSet(TreeSupport<E> treeSupport, E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
public static PDescendingTreeSubSet newInstance(IInstanceFactory instanceFactory, TreeSupport treeSupport, Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive)
public Iterator<E> iterator()
iterator
in interface Iterable<E>
iterator
in interface Collection<E>
iterator
in interface NavigableSet<E>
iterator
in interface Set<E>
iterator
in class PTreeSubSet<E>
public Iterator<E> descendingIterator()
descendingIterator
in interface NavigableSet<E>
descendingIterator
in class PTreeSubSet<E>
public E first()
public E last()
public E pollFirst()
pollFirst
in interface NavigableSet<E>
pollFirst
in class PTreeSubSet<E>
public E pollLast()
pollLast
in interface NavigableSet<E>
pollLast
in class PTreeSubSet<E>
public E ceiling(E element)
ceiling
in interface NavigableSet<E>
ceiling
in class PTreeSubSet<E>
public E floor(E element)
floor
in interface NavigableSet<E>
floor
in class PTreeSubSet<E>
public E higher(E element)
higher
in interface NavigableSet<E>
higher
in class PTreeSubSet<E>
public E lower(E element)
lower
in interface NavigableSet<E>
lower
in class PTreeSubSet<E>
public SortedSet<E> headSet(E toElement)
headSet
in interface NavigableSet<E>
headSet
in interface SortedSet<E>
headSet
in class PTreeSubSet<E>
public NavigableSet<E> headSet(E toElement, boolean inclusive)
headSet
in interface NavigableSet<E>
headSet
in class PTreeSubSet<E>
public SortedSet<E> tailSet(E fromElement)
tailSet
in interface NavigableSet<E>
tailSet
in interface SortedSet<E>
tailSet
in class PTreeSubSet<E>
public NavigableSet<E> tailSet(E fromElement, boolean inclusive)
tailSet
in interface NavigableSet<E>
tailSet
in class PTreeSubSet<E>
public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
subSet
in interface NavigableSet<E>
subSet
in class PTreeSubSet<E>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.