T1 - Element type after transformation.T2 - Element type.public class TransformCollectionView<T1,T2> extends GridSerializableCollection<T1>
| Constructor and Description |
|---|
TransformCollectionView(Collection<? extends T2> col,
IgniteClosure<? super T2,T1> clos,
IgnitePredicate<? super T2>... preds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
Iterator<T1> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode@SafeVarargs public TransformCollectionView(Collection<? extends T2> col, IgniteClosure<? super T2,T1> clos, IgnitePredicate<? super T2>... preds)
col - Input collection that serves as a base for the view.clos - Transformation closure.preds - Optional predicated. If predicates are not provided - all elements will be in the view.@NotNull public Iterator<T1> iterator()
iterator in interface Iterable<T1>iterator in interface Collection<T1>iterator in class AbstractCollection<T1>public int size()
size in interface Collection<T1>size in class AbstractCollection<T1>public boolean isEmpty()
isEmpty in interface Collection<T1>isEmpty in class AbstractCollection<T1>
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017