public class StringEnumerator
extends ArrayList<String>
Constructor and Description |
---|
StringEnumerator() |
Modifier and Type | Method and Description |
---|---|
void |
addObject(String obj) |
void |
clear() |
void |
ensureSize(int size) |
String |
get(int index) |
Integer |
getIndex(String obj) |
Map<String,Integer> |
getMap() |
Integer |
maybeGetIndex(String obj) |
void |
update(String obj,
int index) |
add, add, addAll, addAll, clone, contains, ensureCapacity, forEach, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public Integer maybeGetIndex(String obj)
public Integer getIndex(String obj)
public void addObject(String obj)
public void update(String obj, int index)
public void ensureSize(int size)
public Map<String,Integer> getMap()
public String get(int index)
get
in interface List<String>
get
in class ArrayList<String>
public void clear()
clear
in interface Collection<String>
clear
in interface List<String>
clear
in class ArrayList<String>