Interface ISingleRootGenerator<N>
-
- Type Parameters:
N- Node type
- All Superinterfaces:
IRootGenerator<N>
public interface ISingleRootGenerator<N> extends IRootGenerator<N>
This is a root generator for implicit graphs with just one source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NgetRoot()default java.util.Collection<N>getRoots()
-
-
-
Method Detail
-
getRoot
N getRoot()
- Returns:
- The root node.
-
getRoots
default java.util.Collection<N> getRoots()
- Specified by:
getRootsin interfaceIRootGenerator<N>- Returns:
- The set of roots
-
-