Class DefaultGraphIterables<V,​E>

  • Type Parameters:
    V - the graph vertex type
    E - the graph edge type
    All Implemented Interfaces:
    GraphIterables<V,​E>

    public class DefaultGraphIterables<V,​E>
    extends Object
    implements GraphIterables<V,​E>
    The default implementation of the graph iterables which simply delegates to the set implementations.
    Author:
    Dimitrios Michail
    • Field Detail

      • graph

        protected Graph<V,​E> graph
        The underlying graph
    • Constructor Detail

      • DefaultGraphIterables

        public DefaultGraphIterables()
        Create new graph iterables
      • DefaultGraphIterables

        public DefaultGraphIterables​(Graph<V,​E> graph)
        Create new graph iterables
        Parameters:
        graph - the underlying graph