MCPcopy Create free account
hub / github.com/PCGen/pcgen / addToListFor

Method addToListFor

code/src/java/pcgen/cdom/base/CDOMObject.java:510–517  ·  view source on GitHub ↗
(ListKey<T> key, T element)

Source from the content-addressed store, hash-verified

508 }
509
510 public final <T> void addToListFor(ListKey<T> key, T element)
511 {
512 if (listChar == null)
513 {
514 listChar = new ListKeyMapToList();
515 }
516 listChar.addToListFor(key, element);
517 }
518
519 public final <T> void addAllToListFor(ListKey<T> key, Collection<T> elementCollection)
520 {

Callers 15

testValidPcMethod · 0.95
testValidSchoolMethod · 0.95
testValidSubSchoolMethod · 0.95
testValidAllKnownMethod · 0.95
testValidAnyKnownMethod · 0.95
testValidAllKnownRevMethod · 0.95
testValidInputTypeDotMethod · 0.95
testValidInputTestDotMethod · 0.95

Calls 1

addToListForMethod · 0.65

Tested by 15

testValidPcMethod · 0.76
testValidSchoolMethod · 0.76
testValidSubSchoolMethod · 0.76
testValidAllKnownMethod · 0.76
testValidAnyKnownMethod · 0.76
testValidAllKnownRevMethod · 0.76
testValidInputTypeDotMethod · 0.76
testValidInputTestDotMethod · 0.76