Class Nodes.NodeIterable

  • All Implemented Interfaces:
    java.lang.Iterable<Node>
    Enclosing class:
    Nodes

    private static class Nodes.NodeIterable
    extends java.lang.Object
    implements java.lang.Iterable<Node>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Node end  
      private Node first  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NodeIterable​(Node first, Node end)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<Node> iterator()  
      • 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
    • Field Detail

      • first

        private final Node first
      • end

        private final Node end
    • Constructor Detail

      • NodeIterable

        private NodeIterable​(Node first,
                             Node end)
    • Method Detail

      • iterator

        public java.util.Iterator<Node> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<Node>