PARENTTYPE - The type of the parent objects@FunctionalInterface public interface IHasParent<PARENTTYPE>
| Modifier and Type | Method and Description |
|---|---|
PARENTTYPE |
getParent()
Get the parent object of this object.
|
default boolean |
hasParent()
Check if this element has a parent.
|
@Nullable PARENTTYPE getParent()
null if this object has no
parent.default boolean hasParent()
true if this element has a parent, false
otherwise.Copyright © 2014–2020 Philip Helger. All rights reserved.