Java Vector

java

// Vector: a thread-safe version of ArrayList

Vector<Object> eventIDs= new Vector<>();
eventIDs.add("...");

Vector eventIDs
int size = eventIDs.size();
int i = 0;
for (i = 0; i < size; i++) {
    String eventID = eventIDs.get(i).toString();
    characterCount = eventID.length();
}

.contains
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License