JavaScript is disabled on your browser.
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.2.1.1) E67111-01
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
oracle.javatools.util.ImmutableList<E>
All Implemented Interfaces:
java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>
@Concealed(value="Use {@link java.util.Arrays#asList} or {@link java.util.Collections#UnmodifiableList} instead.")
public class ImmutableList<E>
extends java.util.AbstractList<E>
An immutable list which wraps an array without copying.
Field Summary
Fields inherited from class java.util.AbstractList
modCount
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.lang.Iterable
forEach
Method Detail
size
public int size()
Specified by:
size in interface java.util.Collection<E >
Specified by:
size in interface java.util.List<E >
Specified by:
size in class java.util.AbstractCollection<E >
isEmpty
public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection<E >
Specified by:
isEmpty in interface java.util.List<E >
Overrides:
isEmpty in class java.util.AbstractCollection<E >
get
public E get(int index)
Specified by:
get in interface java.util.List<E >
Specified by:
get in class java.util.AbstractList<E >
clear
public void clear()
Specified by:
clear in interface java.util.Collection<E >
Specified by:
clear in interface java.util.List<E >
Overrides:
clear in class java.util.AbstractList<E >
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.2.1.1) E67111-01
Copyright © 1997, 2016, Oracle. All rights reserved.