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