public class ReadOnlyCollectionBase<T> extends AbstractList<T>
Modifier and Type | Method and Description |
---|---|
T |
get(int index) |
int |
size()
Returns the number of objects contained in this collection.
|
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, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public T get(int index)
public int size()
size
in interface Collection<T>
size
in interface List<T>
size
in class AbstractCollection<T>
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.