MCPcopy Create free account
hub / github.com/Youlor/unpacker / add

Method add

dexfixer/src/com/android/dx/util/IntList.java:214–224  ·  view source on GitHub ↗

Adds an element to the end of the list. This will increase the list's capacity if necessary. @param value the value to add

(int value)

Source from the content-addressed store, hash-verified

212 * @param value the value to add
213 */
214 public void add(int value) {
215 throwIfImmutable();
216
217 growIfNeeded();
218
219 values[size++] = value;
220
221 if (sorted && (size > 1)) {
222 sorted = (value >= values[size - 2]);
223 }
224 }
225
226 /**
227 * Inserts element into specified index, moving elements at and above

Callers 13

calcPredecessorsMethod · 0.95
getSuccessorsMethod · 0.95
processBlockMethod · 0.95
copyBlockMethod · 0.95
mergeSubroutineListsMethod · 0.95
toTargetListMethod · 0.95
processMethod · 0.95
makeImmutableMethod · 0.95

Calls 2

growIfNeededMethod · 0.95
throwIfImmutableMethod · 0.80

Tested by

no test coverage detected