Constructor and Description |
---|
StringVector(int initialCount) |
Modifier and Type | Method and Description |
---|---|
void |
addString(String str) |
void |
addStrings(String str1,
String str2) |
String[] |
asArray() |
void |
clear(boolean removeRefs) |
boolean |
containsInterned(String value) |
String |
findLastByValueNonInterned(String value) |
String |
findLastFromMap(String key)
Specialized access method; treats vector as a Map, with 2 Strings
per entry; first one being key, second value.
|
int |
findLastIndexByValueNonInterned(String value) |
int |
findLastIndexNonInterned(String key) |
String |
findLastNonInterned(String key) |
String[] |
getInternalArray() |
String |
getLastString() |
String |
getString(int index) |
boolean |
isEmpty() |
String |
removeLast() |
void |
removeLast(int count) |
void |
setString(int index,
String str) |
int |
size() |
String |
toString() |
public int size()
public boolean isEmpty()
public String getString(int index)
public String getLastString()
public String[] getInternalArray()
public String[] asArray()
public boolean containsInterned(String value)
public void addString(String str)
public void setString(int index, String str)
public void clear(boolean removeRefs)
public String removeLast()
public void removeLast(int count)
public String findLastFromMap(String key)
public int findLastIndexNonInterned(String key)
public int findLastIndexByValueNonInterned(String value)
Copyright © 2018 FasterXML. All rights reserved.