KEYTYPE - The key type.CHILDTYPE - The data type of the child objects.public class ChildrenProviderHasChildrenWithID<KEYTYPE,CHILDTYPE extends IHasChildren<CHILDTYPE> & IHasID<KEYTYPE>> extends ChildrenProviderHasChildren<CHILDTYPE> implements IChildrenProviderWithID<KEYTYPE,CHILDTYPE>
IChildrenProviderWithID interface that works
with all types that implement IHasChildren and IHasID.| Constructor and Description |
|---|
ChildrenProviderHasChildrenWithID() |
| Modifier and Type | Method and Description |
|---|---|
CHILDTYPE |
getChildWithID(CHILDTYPE aCurrent,
KEYTYPE aID)
Retrieve the objects with the passed ID or
null if no such
object. |
getAllChildren, getChildCount, hasChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllChildren, getChildCount, hasChildren, hasNoChildren@Nullable public CHILDTYPE getChildWithID(@Nullable CHILDTYPE aCurrent, @Nullable KEYTYPE aID)
IChildrenProviderWithIDnull if no such
object.getChildWithID in interface IChildrenProviderWithID<KEYTYPE,CHILDTYPE extends IHasChildren<CHILDTYPE> & IHasID<KEYTYPE>>aCurrent - The object to determine the children of. No null or
non- null constraint possible.aID - the ID of the object in question. No null or non-
null constraint possible.nullCopyright © 2014–2019 Philip Helger. All rights reserved.