MCPcopy Create free account
hub / github.com/davidgiven/luje / add

Method add

lib/java/util/Vector.java:138–141  ·  view source on GitHub ↗

Adds the specified object into this vector at the specified location. The object is inserted before any element with the same or a higher index increasing their index by 1. If the location is equal to the size of this vector, the object is added at the end. @param location the index at w

(int location, E object)

Source from the content-addressed store, hash-verified

136 * @see #size
137 */
138 @Override
139 public void add(int location, E object) {
140 insertElementAt(object, location);
141 }
142
143 /**
144 * Adds the specified object at the end of this vector.

Callers

nothing calls this directly

Calls 2

insertElementAtMethod · 0.95
growByOneMethod · 0.95

Tested by

no test coverage detected