public class FilteredSortedSet<E> extends java.lang.Object implements HGSortedSet<E>
Constructor and Description |
---|
FilteredSortedSet(HGSortedSet<E> delegate,
Mapping<E,java.lang.Boolean> predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
boolean |
addAll(java.util.Collection<? extends E> c) |
void |
clear() |
java.util.Comparator<? super E> |
comparator() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object o) |
E |
first() |
HGRandomAccessResult<E> |
getSearchResult() |
int |
hashCode() |
java.util.SortedSet<E> |
headSet(E toElement) |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
E |
last() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.util.SortedSet<E> |
subSet(E fromElement,
E toElement) |
java.util.SortedSet<E> |
tailSet(E fromElement) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public FilteredSortedSet(HGSortedSet<E> delegate, Mapping<E,java.lang.Boolean> predicate)
public boolean add(E e)
public boolean addAll(java.util.Collection<? extends E> c)
public void clear()
public java.util.Comparator<? super E> comparator()
comparator
in interface java.util.SortedSet<E>
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean equals(java.lang.Object o)
public HGRandomAccessResult<E> getSearchResult()
getSearchResult
in interface HGSortedSet<E>
public int hashCode()
public java.util.SortedSet<E> headSet(E toElement)
headSet
in interface java.util.SortedSet<E>
public boolean isEmpty()
public java.util.Iterator<E> iterator()
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public int size()
public java.util.SortedSet<E> subSet(E fromElement, E toElement)
subSet
in interface java.util.SortedSet<E>
public java.util.SortedSet<E> tailSet(E fromElement)
tailSet
in interface java.util.SortedSet<E>
public java.lang.Object[] toArray()