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> 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();
			}});
	}
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 > .