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

Method fireConnected

CodenameOne/src/com/codename1/car/Car.java:177–182  ·  view source on GitHub ↗
(CarContext ctx)

Source from the content-addressed store, hash-verified

175 }
176
177 private static void fireConnected(CarContext ctx) {
178 CarConnectionListener[] copy = listeners.toArray(new CarConnectionListener[listeners.size()]);
179 for (CarConnectionListener l : copy) {
180 l.carConnected(ctx);
181 }
182 }
183
184 private static void fireDisconnected() {
185 CarConnectionListener[] copy = listeners.toArray(new CarConnectionListener[listeners.size()]);

Callers 1

runMethod · 0.95

Calls 3

carConnectedMethod · 0.80
toArrayMethod · 0.65
sizeMethod · 0.65

Tested by

no test coverage detected