223224225226227228229230231232233
if (listPin.size() > 0) { Iterator iterPin = listPin.iterator(); Pin pinFirst = (Pin) iterPin.next(); pinFirst.disconnect(); while (iterPin.hasNext()) { Pin pin = (Pin) iterPin.next(); pin.disconnect(); pinFirst.connect(pin);
227228229230231232233234235236237
Pin pinFirst = (Pin) iterPin.next(); pinFirst.disconnect(); while (iterPin.hasNext()) { Pin pin = (Pin) iterPin.next(); pin.disconnect(); pinFirst.connect(pin); } } return listPin; }