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

Method putToList

code/src/java/pcgen/cdom/base/CDOMObject.java:880–888  ·  view source on GitHub ↗
(CDOMReference<? extends CDOMList<?>> listRef,
		CDOMReference<T> granted, AssociatedPrereqObject associations)

Source from the content-addressed store, hash-verified

878 }
879
880 public final <T extends CDOMObject> void putToList(CDOMReference<? extends CDOMList<?>> listRef,
881 CDOMReference<T> granted, AssociatedPrereqObject associations)
882 {
883 if (cdomListMods == null)
884 {
885 cdomListMods = new DoubleKeyMapToList<>(HashMap.class, LinkedHashMap.class);
886 }
887 cdomListMods.addToListFor(listRef, granted, associations);
888 }
889
890 public final <T extends CDOMObject> void removeFromList(CDOMReference<? extends CDOMList<?>> listRef,
891 CDOMReference<T> granted)

Callers 15

setUpMethod · 0.80
setUpMethod · 0.80
testVision2PassMethod · 0.80
testVisionFailMethod · 0.80
testVisionPassMethod · 0.80
testVisionPresentTenMethod · 0.80
testVisionPresentZeroMethod · 0.80
testVisionZeroTenMethod · 0.80
testVisionNotZeroTenMethod · 0.80
testVisionZeroZeroMethod · 0.80

Calls 1

addToListForMethod · 0.65

Tested by 15

setUpMethod · 0.64
setUpMethod · 0.64
testVision2PassMethod · 0.64
testVisionFailMethod · 0.64
testVisionPassMethod · 0.64
testVisionPresentTenMethod · 0.64
testVisionPresentZeroMethod · 0.64
testVisionZeroTenMethod · 0.64
testVisionNotZeroTenMethod · 0.64
testVisionZeroZeroMethod · 0.64