MCPcopy Index your code
hub / github.com/apache/groovy / containsAll

Method containsAll

src/main/java/groovy/lang/IntRange.java:509–515  ·  view source on GitHub ↗

{@inheritDoc}

(Collection other)

Source from the content-addressed store, hash-verified

507 * {@inheritDoc}
508 */
509 @Override
510 public boolean containsAll(Collection other) {
511 if (other instanceof IntRange range) {
512 return getFrom() <= range.getFrom() && range.getTo() <= getTo();
513 }
514 return super.containsAll(other);
515 }
516
517 /**
518 * {@inheritDoc}

Callers 2

testContainsAllMethod · 0.45
doTestContainsMethod · 0.45

Calls 4

getFromMethod · 0.95
getToMethod · 0.95
getFromMethod · 0.65
getToMethod · 0.65

Tested by 2

testContainsAllMethod · 0.36
doTestContainsMethod · 0.36