MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / elementAt

Method elementAt

vm/JavaAPI/src/java/util/Vector.java:300–306  ·  view source on GitHub ↗

Returns the element at the specified location in this vector. @param location the index of the element to return in this vector. @return the element at the specified location. @throws ArrayIndexOutOfBoundsException if location < 0 || location >= size(). @see #size

(int location)

Source from the content-addressed store, hash-verified

298 * @see #size
299 */
300 @SuppressWarnings("unchecked")
301 public synchronized E elementAt(int location) {
302 if (location < elementCount) {
303 return (E) elementData[location];
304 }
305 throw new ArrayIndexOutOfBoundsException(location);
306 }
307
308 /**
309 * Returns an enumeration on the elements of this vector. The results of the

Callers 15

actionPerformedMethod · 0.95
launchAdMethod · 0.95
runMethod · 0.95
splitMethod · 0.95
deleteMethod · 0.95
getMethod · 0.95
placeInStorageCacheMethod · 0.95
getKeysInCacheMethod · 0.95
clearStorageCacheMethod · 0.95
parseMethod · 0.95
readResponseMethod · 0.95

Calls

no outgoing calls

Tested by 2

loadHistoryMethod · 0.76