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() |
@NotNull Iterator<T> |
iterator() |
int |
size() |
addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, stream@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 @NotNull 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 Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023