public interface HeapListener
This interface represents a listener which expects to be notified of changes when they occur on a particular heap.
To be notified, it must be registered to the NutsHeap
thanks to its NutsHeap.addObserver(HeapListener)
method.
Modifier and Type | Method and Description |
---|---|
void |
nutUpdated(NutsHeap heap)
Called when a nut has been updated in the heap.
|
void nutUpdated(NutsHeap heap)
Called when a nut has been updated in the heap.
Copyright © 2012-2015. All Rights Reserved.