elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/taxonomy/TaxonomyNodeUtils.java
public static <T extends ElkEntity, N extends GenericTaxonomyNode<T, N>>
			Set<? extends N> getAllSubNodes(final Collection<? extends N> direct) {
		return getAllReachable(direct, new Functor<N, Set<? extends N>>() {

			@Override
			public Set<? extends N> apply(final N node) {
				return node.getDirectSubNodes();
			}});
	}
public static <T extends ElkEntity, N extends GenericTaxonomyNode<T, N>>
			Set<? extends N> getAllSubNodes(final Collection<? extends N> direct) {
		return getAllReachable(direct, new Functor<N, Set<? extends N>>() {

			@Override
			public Set<? extends N> apply(final N node) {
				return node.getDirectSubNodes();
			}});
	}
public static < T extends ElkEntity , N extends GenericTaxonomyNode < T , N > > Set < ? extends N > getAllSubNodes ( final Collection < ? extends N > direct ) { return getAllReachable ( direct , new Functor < N , Set < ? extends N > > ( ) { @ Override public Set < ? extends N > apply ( final N node ) { return node . getDirectSubNodes ( ) ; } } ) ; }
Returns all sub-nodes of a node whose direct sub-nodes are
<code>direct</code>.

@param direct
The direct sub-nodes.
@return all sub-nodes of a node whose direct sub-nodes are
<code>direct</code>.
Returns all sub - nodes of a node whose direct sub - nodes are <code > direct< / code > .