MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / setVariable

Method setVariable

Ports/Android/src/com/codename1/media/Audio.java:323–332  ·  view source on GitHub ↗
(String key, Object value)

Source from the content-addressed store, hash-verified

321 }
322
323 public void setVariable(String key, Object value) {
324 if(key != null){
325 if(key.equals("disposeOnComplete")){
326 if(value != null){
327 String v= value.toString();
328 disposeOnComplete = v.equalsIgnoreCase("true");
329 }
330 }
331 }
332 }
333
334 public Object getVariable(String key) {
335 if(key != null){

Callers

nothing calls this directly

Calls 3

equalsIgnoreCaseMethod · 0.95
equalsMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected