private void unprovision(Pin pin) { for (GpioPin e : gpioContoller.getProvisionedPins()) { if (e.getPin().equals(pin)) { gpioContoller.unprovisionPin(e); break; } } }
@Override public Collection<GpioPin> getProvisionedPins() { return delegate.getProvisionedPins(); }