MCPcopy Create free account
hub / github.com/akeranen/the-one / getProperty

Method getProperty

core/Message.java:300–305  ·  view source on GitHub ↗

Returns an object that was stored to this message using the given key. If such object is not found, null is returned. @param key The key used to lookup the object @return The stored object or null if it isn't found

(String key)

Source from the content-addressed store, hash-verified

298 * @return The stored object or null if it isn't found
299 */
300 public Object getProperty(String key) {
301 if (this.properties == null) {
302 return null;
303 }
304 return this.properties.get(key);
305 }
306
307 /**
308 * Updates a value for an existing property. For storing the value first

Callers 13

messageTransferredMethod · 0.95
transferDoneMethod · 0.95
handleMethod · 0.45
copyFromMethod · 0.45
getFullPropertyNameMethod · 0.45
initMethod · 0.45
getSettingMethod · 0.45
testGetPropertyMethod · 0.45
testUpdatePropertyMethod · 0.45
testUnsubscribeMethod · 0.45
testAddPropertyMethod · 0.45
createSnapshotMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 4

testGetPropertyMethod · 0.36
testUpdatePropertyMethod · 0.36
testUnsubscribeMethod · 0.36
testAddPropertyMethod · 0.36