public static class AbstractCharList.CharRandomAccessSubList extends AbstractCharList.CharSubList implements java.util.RandomAccess
AbstractCharList.CharRandomAccessSubList, AbstractCharList.CharSubList
Constructor and Description |
---|
CharRandomAccessSubList(CharList l,
int from,
int to) |
Modifier and Type | Method and Description |
---|---|
CharList |
subList(int from,
int to)
Returns a type-specific view of the portion of this list from the index
from , inclusive, to the index to , exclusive. |
add, add, addAll, addAll, addAll, addElements, getChar, getElements, listIterator, rem, removeChar, removeElements, set, setElements, size, spliterator
addAll, addAll, addElements, clear, compareTo, contains, equals, forEach, hashCode, indexOf, iterator, lastIndexOf, listIterator, peekChar, popChar, push, size, toArray, toCharArray, topChar, toString
add, contains, containsAll, containsAll, remove, removeAll, removeAll, retainAll, retainAll, toCharArray
add, add, addAll, contains, get, indexOf, lastIndexOf, of, of, of, of, of, remove, remove, replaceAll, replaceAll, replaceAll, set, setElements, setElements, sort, sort, unstableSort, unstableSort
containsAll, isEmpty, removeAll, retainAll, toArray, toArray
containsAll, intIterator, intParallelStream, intSpliterator, intStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, stream, toCharArray
forEach, forEach
public CharRandomAccessSubList(CharList l, int from, int to)
public CharList subList(int from, int to)
CharList
from
, inclusive, to the index to
, exclusive.subList
in interface CharList
subList
in interface java.util.List<java.lang.Character>
subList
in class AbstractCharList.CharSubList
List.subList(int,int)