Package io.anyline2.core
Class VectorOfString
-
- All Implemented Interfaces:
-
java.lang.Iterable
,java.util.Collection
,java.util.List
,java.util.RandomAccess
public class VectorOfString extends AbstractList<E> implements RandomAccess
-
-
Constructor Summary
Constructors Constructor Description VectorOfString(Array<String> initialElements)
VectorOfString(Iterable<String> initialElements)
VectorOfString()
VectorOfString(VectorOfString other)
VectorOfString(int count, String value)
-
Method Summary
Modifier and Type Method Description synchronized void
delete()
String
get(int index)
String
set(int index, String e)
boolean
add(String e)
void
add(int index, String e)
String
remove(int index)
int
size()
int
capacity()
void
reserve(int 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
-
-