private static class ImmutableIntList.EmptyImmutableIntList extends ImmutableIntList
ImmutableIntList that is always
empty and has only one instance.| Modifier | Constructor and Description |
|---|---|
private |
EmptyImmutableIntList() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Integer> |
iterator() |
ListIterator<Integer> |
listIterator() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
append, append, copyOf, copyOf, copyOf, equals, get, getInt, hashCode, identity, indexOf, indexOf, isEmpty, lastIndexOf, lastIndexOf, listIterator, of, of, range, size, toIntArray, toStringtoListadd, add, addAll, addAll, clear, contains, containsAll, remove, remove, removeAll, retainAll, set, subListclone, finalize, getClass, notify, notifyAll, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic Object[] toArray()
toArray in interface Collection<Integer>toArray in interface List<Integer>toArray in class ImmutableIntListpublic <T> T[] toArray(T[] a)
toArray in interface Collection<Integer>toArray in interface List<Integer>toArray in class ImmutableIntListpublic ListIterator<Integer> listIterator()
listIterator in interface List<Integer>listIterator in class ImmutableIntListCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.