KEYTYPE - The key type.CHILDTYPE - The data type of the child objects.public class ChildrenProviderSortingWithUniqueID<KEYTYPE,CHILDTYPE> extends ChildrenProviderSorting<CHILDTYPE> implements IChildrenProviderWithUniqueID<KEYTYPE,CHILDTYPE>
IChildrenProviderWithID with ID that
returns the children in ChildrenProviderSorting.getChildren(Object) sorted.m_aCR| Constructor and Description |
|---|
ChildrenProviderSortingWithUniqueID(IChildrenProviderWithUniqueID<KEYTYPE,CHILDTYPE> aCP,
Comparator<? super CHILDTYPE> aComparator) |
| Modifier and Type | Method and Description |
|---|---|
CHILDTYPE |
getItemWithID(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 ChildrenProviderSortingWithUniqueID(@Nonnull IChildrenProviderWithUniqueID<KEYTYPE,CHILDTYPE> aCP, @Nonnull Comparator<? super CHILDTYPE> aComparator)
@Nullable public CHILDTYPE getItemWithID(@Nullable KEYTYPE aID)
IChildrenProviderWithUniqueIDnull if no such
object.getItemWithID in interface IChildrenProviderWithUniqueID<KEYTYPE,CHILDTYPE>aID - the ID of the object in questionnullCopyright © 2006–2014 phloc systems. All rights reserved.