Interface Graph<T extends Node>

  • All Superinterfaces:
    java.util.Collection<T>, java.lang.Iterable<T>, java.util.Set<T>
    All Known Implementing Classes:
    GraphImpl

    public interface Graph<T extends Node>
    extends java.util.Set<T>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      NodeData getNodeData​(T node)  
      java.util.Set<T> getRoots()  
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
    • Method Detail

      • getNodeData

        NodeData getNodeData​(T node)
      • getRoots

        java.util.Set<T> getRoots()