public static <T extends ElkEntity, N extends GenericTaxonomyNode<T, N>>
			Set<? extends N> getAllSubNodes(final Collection<? extends N> direct) {
    """
	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>.
    """
		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 > .