MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / setObject

Method setObject

java/jms/src/org/opendds/jms/MapMessageImpl.java:177–182  ·  view source on GitHub ↗
(String s, Object o)

Source from the content-addressed store, hash-verified

175 }
176
177 public void setObject(String s, Object o) throws JMSException {
178 getBodyState().checkWritable();
179 mapBody.absorbTheMapBody();
180 mapBody.setObject(s, o);
181 mapBody.updateTheMapBody();
182 }
183
184 public boolean itemExists(String s) throws JMSException {
185 mapBody.absorbTheMapBody();

Callers 4

testSetAndGetMapItemsMethod · 0.95
testUpdatingMapItemsMethod · 0.95
testSetObjectMethod · 0.95

Calls 4

getBodyStateMethod · 0.80
absorbTheMapBodyMethod · 0.80
updateTheMapBodyMethod · 0.80
checkWritableMethod · 0.65

Tested by 4

testSetAndGetMapItemsMethod · 0.76
testUpdatingMapItemsMethod · 0.76
testSetObjectMethod · 0.76