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 Detail

      • getRoot

        N getRoot()
        Returns:
        The root node.
      • getRoots

        default java.util.Collection<N> getRoots()
        Specified by:
        getRoots in interface IRootGenerator<N>
        Returns:
        The set of roots