public class HierarchyUtil extends Object
Constructor and Description |
---|
HierarchyUtil() |
Modifier and Type | Method and Description |
---|---|
static <T,H extends Hierarchical<H>> |
flattenAbove(H node,
ListGetter<T,H> listGetter) |
static <T,H extends Hierarchical<H>> |
flattenDownToLeaves(H node,
ListGetter<T,H> listGetter) |
static <T,H extends Hierarchical<H>> |
flattenUpToRoot(H node,
ListGetter<T,H> listGetter) |
static <T,H extends Hierarchical<H>> |
recursiveFlattenDownToLeaves(H node,
ListGetter<T,H> listGetter,
List<T> ret) |
public static <T,H extends Hierarchical<H>> Iterable<T> flattenDownToLeaves(H node, ListGetter<T,H> listGetter)
public static <T,H extends Hierarchical<H>> void recursiveFlattenDownToLeaves(H node, ListGetter<T,H> listGetter, List<T> ret)
public static <T,H extends Hierarchical<H>> Iterable<T> flattenUpToRoot(H node, ListGetter<T,H> listGetter)
public static <T,H extends Hierarchical<H>> Iterable<T> flattenAbove(H node, ListGetter<T,H> listGetter)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.