T
- Type of the col.public class PredicateCollectionView<T> extends GridSerializableCollection<T>
Constructor and Description |
---|
PredicateCollectionView(Collection<T> col,
IgnitePredicate<? super T>... preds) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T e) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
size() |
addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
@SafeVarargs public PredicateCollectionView(Collection<T> col, IgnitePredicate<? super T>... preds)
col
- Input col that serves as a base for the view.preds
- Optional preds. If preds are not provided - all elements will be in the view.public boolean add(T e)
add
in interface Collection<T>
add
in class AbstractCollection<T>
@NotNull public Iterator<T> iterator()
iterator
in interface Iterable<T>
iterator
in interface Collection<T>
iterator
in class AbstractCollection<T>
public int size()
size
in interface Collection<T>
size
in class AbstractCollection<T>
public boolean isEmpty()
isEmpty
in interface Collection<T>
isEmpty
in class AbstractCollection<T>
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017