CALLBACKTYPE - The callback type.public interface ICallbackList<CALLBACKTYPE extends ICallback> extends Serializable
ICallback objects| Modifier and Type | Method and Description |
|---|---|
List<CALLBACKTYPE> |
getAllCallbacks() |
CALLBACKTYPE |
getCallbackAtIndex(int nIndex)
Get the callback at the specified index.
|
int |
getCallbackCount() |
boolean |
hasCallbacks() |
@Nonnull @ReturnsMutableCopy List<CALLBACKTYPE> getAllCallbacks()
null and only
containing non-null elements.@Nullable CALLBACKTYPE getCallbackAtIndex(@Nonnegative int nIndex)
nIndex - The index to be retrieved. Should be ≥ 0.null if the provided index is invalid.@Nonnegative int getCallbackCount()
boolean hasCallbacks()
true if at least a single callback is present,
false otherwise.Copyright © 2014–2015 Philip Helger. All rights reserved.