CHILDTYPE - The type of the children.public interface IHasChildren<CHILDTYPE>
| Modifier and Type | Method and Description |
|---|---|
ICommonsCollection<? extends CHILDTYPE> |
getAllChildren() |
int |
getChildCount() |
default boolean |
hasChildren() |
default boolean |
hasNoChildren() |
default boolean hasChildren()
true if this item has direct children,
false otherwise.default boolean hasNoChildren()
true if this item has no direct children,
false otherwise.@Nonnegative int getChildCount()
@Nullable ICommonsCollection<? extends CHILDTYPE> getAllChildren()
null
.Copyright © 2014–2016 Philip Helger. All rights reserved.