T - The type of elements in the queue.public static interface ObjectQueue.Listener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onAdd(ObjectQueue<T> queue,
T entry)
Called after an entry is added.
|
void |
onRemove(ObjectQueue<T> queue)
Called after an entry is removed.
|
void onAdd(ObjectQueue<T> queue, T entry)
void onRemove(ObjectQueue<T> queue)
Copyright © 2015 Square, Inc.. All Rights Reserved.