public class ReadOnlyCollectionBase<T> extends AbstractList<T>
Modifier and Type | Method and Description |
---|---|
T |
get(int index) |
void |
set_Item(int index,
T value) |
int |
size()
Gets the number of objects contained in the object.
|
void |
sort(Comparator<? super T> c) |
List<T> |
toList()
Converts the collection object to a list of objects.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public T get(int index)
public final void set_Item(int index, T value)
public final int size()
Gets the number of objects contained in the object.
int
.size
in interface Collection<T>
size
in interface List<T>
size
in class AbstractCollection<T>
public final List<T> toList()
public void sort(Comparator<? super T> c)
c
-