KEYTYPE - The key type.CHILDTYPE - The data type of the child objects.public class ChildrenProviderSortingWithID<KEYTYPE,CHILDTYPE> extends ChildrenProviderSorting<CHILDTYPE> implements IChildrenProviderWithID<KEYTYPE,CHILDTYPE>
IChildrenProviderWithID with ID that returns the children in
ChildrenProviderSorting.getChildren(Object) sorted.m_aCR| Constructor and Description |
|---|
ChildrenProviderSortingWithID(IChildrenProviderWithID<KEYTYPE,CHILDTYPE> aCP,
Comparator<? super CHILDTYPE> aComparator) |
| 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. |
getChildCount, getChildren, hasChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildCount, getChildren, hasChildrenpublic ChildrenProviderSortingWithID(@Nonnull IChildrenProviderWithID<KEYTYPE,CHILDTYPE> aCP, @Nonnull Comparator<? super CHILDTYPE> aComparator)
@Nullable public CHILDTYPE getChildWithID(@Nullable CHILDTYPE aCurrent, @Nullable KEYTYPE aID)
IChildrenProviderWithIDnull if no such
object.getChildWithID in interface IChildrenProviderWithID<KEYTYPE,CHILDTYPE>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 © 2006–2015 phloc systems. All rights reserved.