public static class FunctionUtils.UnmodifiableCollection<T> extends Object implements UnmodCollection<T>, Serializable
FunctionUtils.unmodCollection(Collection) (also see caveats there).UnmodIterable.AbstractUnmodIterable<T>| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object o) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
UnmodIterator<T> |
iterator()
An unmodifiable iterator A one-time use, mutable, not-thread-safe way to get each value of the underling collection in
turn.
|
int |
size()
Returns the number of items in this iterable.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, containsAll, remove, removeAll, removeIf, retainAll, toArray, toArrayparallelStream, spliterator, streamconcat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toStringtoImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSetpublic boolean contains(Object o)
contains in interface Collection<T>public int size()
Sizedsize in interface Collection<T>size in interface Sizedpublic boolean isEmpty()
UnmodCollectionisEmpty in interface Collection<T>isEmpty in interface UnmodCollection<T>public UnmodIterator<T> iterator()
UnmodCollectioniterator in interface Iterable<T>iterator in interface Collection<T>iterator in interface UnmodCollection<T>iterator in interface UnmodIterable<T>public int hashCode()
hashCode in interface Collection<T>hashCode in class Objectpublic boolean equals(Object o)
equals in interface Collection<T>equals in class ObjectCopyright © 2017. All rights reserved.