T - Element type.public class ReadOnlyCollectionView<T> extends GridSerializableCollection<T>
| Constructor and Description |
|---|
ReadOnlyCollectionView(@NotNull Collection<T> col,
T elem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
@NotNull Iterator<T> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithashCode, parallelStream, removeIf, spliterator, streampublic ReadOnlyCollectionView(@NotNull
@NotNull Collection<T> col,
@NotNull
T elem)
col - Collection to wrap.elem - First element.@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>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020