KEYTYPE
- The key typeCHILDTYPE
- the value typepublic interface IChildrenProviderWithID<KEYTYPE,CHILDTYPE> extends IChildrenProvider<CHILDTYPE>
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, hasChildren, hasNoChildren
@Nullable CHILDTYPE getChildWithID(CHILDTYPE aCurrent, KEYTYPE aID)
null
if no such
object.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.null
Copyright © 2014–2019 Philip Helger. All rights reserved.