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

Method get

PCGen-base/code/src/java/pcgen/base/util/TripleKeyMap.java:162–166  ·  view source on GitHub ↗

Gets an object from the TripleKeyMap. @param key1 The primary key used to get the value in this TripleKeyMap. @param key2 The secondary key used to get the value in this TripleKeyMap. @param key3 The tertiary key used to get the value in this TripleKeyMap. @return t

(K1 key1, K2 key2, K3 key3)

Source from the content-addressed store, hash-verified

160 * given keys.
161 */
162 public V get(K1 key1, K2 key2, K3 key3)
163 {
164 Map<K3, V> localMap = map.get(key1, key2);
165 return (localMap == null) ? null : localMap.get(key3);
166 }
167
168 /**
169 * Returns true if an object is stored in this TripleKeyMap for the given

Callers 2

testCloneMethod · 0.95
processAddsMethod · 0.95

Calls 1

getMethod · 0.65

Tested by 1

testCloneMethod · 0.76