WithHomogenousParentExtension<T extends WithHomogenousParent<T> > extension
An extension to hold methods so you can implement this class instead of extending it.
- on
Methods
-
withAncestors(
) → Iterable< WithHomogenousParent< T> > - Returns a list with this object and all its ancestors in the upstream order.
-
withAncestorsDownstream(
) → Iterable< WithHomogenousParent< T> > - Returns a list with this object and all its ancestors stating with the root and walking down.
-
withAncestorsUpstream(
) → Iterable< WithHomogenousParent< T> > - Returns a list with this object and all its ancestors starting with the parent and walking up.