public static <T extends ElkEntity, N extends GenericTaxonomyNode<T, N>>
			Set<? extends N> getAllSuperNodes(final Collection<? extends N> direct) {
    """
	Returns all super-nodes of a node whose direct super-nodes are
	<code>direct</code>.
	
	@param direct
	The direct super-nodes.
	@return all super-nodes of a node whose direct super-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.getDirectSuperNodes();
			}});
	}
public static <T extends ElkEntity, N extends GenericTaxonomyNode<T, N>>
			Set<? extends N> getAllSuperNodes(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.getDirectSuperNodes();
			}});
	}
public static < T extends ElkEntity , N extends GenericTaxonomyNode < T , N > > Set < ? extends N > getAllSuperNodes ( 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 . getDirectSuperNodes ( ) ; } } ) ; }
Returns all super-nodes of a node whose direct super-nodes are
<code>direct</code>.

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