Package io.anyline2.core
Class VectorOfChar
-
- All Implemented Interfaces:
-
java.lang.Iterable
,java.util.Collection
,java.util.List
,java.util.RandomAccess
public class VectorOfChar extends AbstractList<E> implements RandomAccess
-
-
Constructor Summary
Constructors Constructor Description VectorOfChar(Array<short> initialElements)
VectorOfChar(Iterable<Short> initialElements)
VectorOfChar()
VectorOfChar(VectorOfChar other)
VectorOfChar(int count, short value)
-
Method Summary
Modifier and Type Method Description synchronized void
delete()
Short
get(int index)
Short
set(int index, Short e)
boolean
add(Short e)
void
add(int index, Short e)
Short
remove(int index)
int
size()
long
capacity()
void
reserve(long n)
boolean
isEmpty()
void
clear()
-
Methods inherited from class java.util.AbstractList
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, subList
-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.util.List
copyOf, of, replaceAll, sort, spliterator
-
Methods inherited from class java.util.Collection
parallelStream, removeIf, stream
-
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
VectorOfChar
VectorOfChar(Array<short> initialElements)
-
VectorOfChar
VectorOfChar()
-
VectorOfChar
VectorOfChar(VectorOfChar other)
-
VectorOfChar
VectorOfChar(int count, short value)
-
-
-
-