public static class FunctionUtils.UnmodifiableList<T> extends Object implements UnmodList<T>, Serializable
FunctionUtils.unmodList(List)
.UnmodList.AbstractUnmodList<E>
UnmodIterable.AbstractUnmodIterable<T>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
get(int index) |
int |
hashCode() |
UnmodSortedIterator<T> |
iterator()
A convenience method to get a listIterator.
|
UnmodListIterator<T> |
listIterator() |
UnmodListIterator<T> |
listIterator(int idx)
Subclasses should override this when they can do so more efficiently.
|
int |
size()
Returns the number of items in this iterable.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, indexOf, isEmpty, lastIndexOf, permutations, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, sort, subList, toArray, toArray
spliterator
parallelStream, stream
castFromList, castFromSortedMap, castFromSortedSet, equal, equals
concat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toString
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
public int size()
Sized
public int hashCode()
public boolean equals(Object o)
public UnmodListIterator<T> listIterator(int idx)
UnmodList
listIterator
in interface List<T>
listIterator
in interface UnmodList<T>
public UnmodListIterator<T> listIterator()
UnmodList
listIterator
in interface List<T>
listIterator
in interface UnmodList<T>
public UnmodSortedIterator<T> iterator()
UnmodList
iterator
in interface Iterable<T>
iterator
in interface Collection<T>
iterator
in interface List<T>
iterator
in interface UnmodCollection<T>
iterator
in interface UnmodIterable<T>
iterator
in interface UnmodList<T>
iterator
in interface UnmodSortedCollection<T>
iterator
in interface UnmodSortedIterable<T>
Copyright © 2016. All rights reserved.