MCPcopy Create free account
hub / github.com/java-native-access/jna / contains

Method contains

src/com/sun/jna/Structure.java:520–523  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

518 @Override
519 public int size() { return count; }
520 @Override
521 public boolean contains(Object o) {
522 return indexOf((Structure) o) != -1;
523 }
524 @Override
525 public boolean add(Structure o) {
526 if (!contains(o)) {

Callers 15

addMethod · 0.95
testPlatformToStringsMethod · 0.80
testPerfstatProcessesMethod · 0.80
testPerfstatProtocolsMethod · 0.80
setXAttrMethod · 0.80
testGetScreenshotMethod · 0.80
testVkMappableMethod · 0.80

Calls 1

indexOfMethod · 0.95

Tested by 15

testPlatformToStringsMethod · 0.64
testPerfstatProcessesMethod · 0.64
testPerfstatProtocolsMethod · 0.64
setXAttrMethod · 0.64
testGetScreenshotMethod · 0.64
testVkMappableMethod · 0.64