Class DIMACSImporter.Consumers

  • Enclosing class:
    DIMACSImporter<V,​E>

    private class DIMACSImporter.Consumers
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.function.Consumer<Triple<java.lang.Integer,​java.lang.Integer,​java.lang.Double>> edgeConsumer  
      private Graph<V,​E> graph  
      private java.util.List<V> list  
      java.util.function.Consumer<java.lang.Integer> nodeCountConsumer  
    • Constructor Summary

      Constructors 
      Constructor Description
      Consumers​(Graph<V,​E> graph)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • graph

        private Graph<V,​E> graph
      • list

        private java.util.List<V> list
      • nodeCountConsumer

        public final java.util.function.Consumer<java.lang.Integer> nodeCountConsumer
      • edgeConsumer

        public final java.util.function.Consumer<Triple<java.lang.Integer,​java.lang.Integer,​java.lang.Double>> edgeConsumer
    • Constructor Detail

      • Consumers

        public Consumers​(Graph<V,​E> graph)