MCPcopy Index your code
hub / github.com/PCGen/pcgen / push

Method push

PCGen-base/code/src/java/pcgen/base/util/MappedDeque.java:60–63  ·  view source on GitHub ↗

Pushes a new value onto the Deque for the given TypedKey. @param key The TypeKey for which the given value should be pushed onto the Deque @param value The value to be pushed onto the Deque for the given TypeKey @param The format of the value to be pu

(TypedKey<T> key, T value)

Source from the content-addressed store, hash-verified

58 * The format of the value to be put into the Deque
59 */
60 public <T> void push(TypedKey<T> key, T value)
61 {
62 getDeque(Objects.requireNonNull(key)).push(wrap(value));
63 }
64
65 /**
66 * Pops a value from the Deque for the given TypedKey.

Callers 15

testNonNullKeyMethod · 0.95
testPushPopPeekMethod · 0.95
testSetMethod · 0.95
testPopMethod · 0.95
setMethod · 0.80
nextMethod · 0.80
testOr01Method · 0.80
testOr02Method · 0.80
testOr03Method · 0.80
testOr04Method · 0.80
testOr05Method · 0.80
testIf01Method · 0.80

Calls 2

getDequeMethod · 0.95
wrapMethod · 0.95

Tested by 13

testNonNullKeyMethod · 0.76
testPushPopPeekMethod · 0.76
testSetMethod · 0.76
testPopMethod · 0.76
testOr01Method · 0.64
testOr02Method · 0.64
testOr03Method · 0.64
testOr04Method · 0.64
testOr05Method · 0.64
testIf01Method · 0.64
testIf02Method · 0.64
testIf03Method · 0.64