HasParent<ParentT> Interface
Type Parameters
- ParentT
the parent type
public interface HasParent
An interface representing a child that has an immediately available parent.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract ParentT | parent() |
Method Details
parent
public abstract ParentT parent()
Returns:
the parent of this child object