MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / increment

Method increment

android/src/SafeDestruct.java:50–56  ·  view source on GitHub ↗

Safely increment the reference counter. Returns false when the object is shutting down (no change to the reference counter in this case).

()

Source from the content-addressed store, hash-verified

48 * this case).
49 */
50 public synchronized boolean increment() {
51 if (shutdown)
52 return false;
53
54 ++count;
55 return true;
56 }
57
58 /**
59 * Safely increment the reference counter. Returns false when the

Callers 15

setStateSafeMethod · 0.80
submitErrorMethod · 0.80
onSensorChangedMethod · 0.80
onReceivedDataMethod · 0.80
stateChangedMethod · 0.80
errorMethod · 0.80
stateChangedMethod · 0.80
errorMethod · 0.80
setStateSafeMethod · 0.80
submitErrorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected