CALLBACKTYPE - The callback type.public interface ICallbackList<CALLBACKTYPE extends ICallback> extends ICommonsIterable<CALLBACKTYPE>, IHasSize
ICallback objects.getAllCallbacks() directly or the returned Iterator would not be
thread-safe and that is not an option for this type.| Modifier and Type | Method and Description |
|---|---|
ICommonsList<CALLBACKTYPE> |
getAllCallbacks() |
CALLBACKTYPE |
getCallbackAtIndex(int nIndex)
Get the callback at the specified index.
|
containsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstIndex, findFirstMapped, findFirstMapped, findLastIndex, forEach, forEachBreakable, forEachByIndex, getCount, getCountforEach, iterator, spliteratorisEmpty, isNotEmpty, size@Nonnull @ReturnsMutableCopy ICommonsList<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.Copyright © 2014–2020 Philip Helger. All rights reserved.