MCPcopy Index your code
hub / github.com/java-native-access/jna / add

Method add

src/com/sun/jna/Structure.java:524–532  ·  view source on GitHub ↗
(Structure o)

Source from the content-addressed store, hash-verified

522 return indexOf((Structure) o) != -1;
523 }
524 @Override
525 public boolean add(Structure o) {
526 if (!contains(o)) {
527 ensureCapacity(count+1);
528 elements[count++] = o;
529 return true;
530 }
531 return false;
532 }
533 private int indexOf(Structure s1) {
534 for (int i=0;i < count;i++) {
535 Structure s2 = elements[i];

Callers 15

getToListMethod · 0.45
createExportsMethod · 0.45
createRequiresMethod · 0.45
createOpensMethod · 0.45
createPackageMethod · 0.45
getToListMethod · 0.45
callbackMethod · 0.45
findJWSMethod · 0.45
showMessageMethod · 0.45

Calls 2

containsMethod · 0.95
ensureCapacityMethod · 0.95