Class EdgesInput.EmptyEdges

  • All Implemented Interfaces:
    java.lang.Iterable<org.apache.hugegraph.computer.core.graph.edge.Edge>, org.apache.hugegraph.computer.core.graph.edge.Edges
    Enclosing class:
    EdgesInput

    public static class EdgesInput.EmptyEdges
    extends java.lang.Object
    implements org.apache.hugegraph.computer.core.graph.edge.Edges
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.apache.hugegraph.computer.core.graph.edge.Edge edge)  
      static EdgesInput.EmptyEdges instance()  
      java.util.Iterator<org.apache.hugegraph.computer.core.graph.edge.Edge> iterator()  
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface org.apache.hugegraph.computer.core.graph.edge.Edges
      • add

        public void add​(org.apache.hugegraph.computer.core.graph.edge.Edge edge)
        Specified by:
        add in interface org.apache.hugegraph.computer.core.graph.edge.Edges
      • iterator

        public java.util.Iterator<org.apache.hugegraph.computer.core.graph.edge.Edge> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<org.apache.hugegraph.computer.core.graph.edge.Edge>