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

Method set

src/main/java/groovy/lang/Sequence.java:72–76  ·  view source on GitHub ↗

Sets the contents of this sequence to that of the given collection.

(Collection collection)

Source from the content-addressed store, hash-verified

70 * of the given collection.
71 */
72 public void set(Collection collection) {
73 checkCollectionType(collection);
74 clear();
75 addAll(collection);
76 }
77
78 /**
79 * {@inheritDoc}

Callers 15

testSetMethodMethod · 0.95
testSetMethod · 0.95
nsieveMethod · 0.45
methodNameActionMethod · 0.45
callMethod · 0.45
scheduleNextMethod · 0.45
getAgoMethod · 0.45
getNowMethod · 0.45
getAgoMethod · 0.45
getNowMethod · 0.45

Calls 3

checkCollectionTypeMethod · 0.95
clearMethod · 0.95
addAllMethod · 0.95

Tested by 3

testSetMethodMethod · 0.76
testSetMethod · 0.76