jlibs.core.graph.sequences
Class PathSequence<E>

java.lang.Object
  extended by jlibs.core.graph.sequences.AbstractSequence<Path>
      extended by jlibs.core.graph.sequences.PathSequence<E>
All Implemented Interfaces:
Sequence<Path>

public class PathSequence<E>
extends AbstractSequence<Path>

Author:
Santhosh Kumar T

Field Summary
 
Fields inherited from class jlibs.core.graph.sequences.AbstractSequence
current
 
Constructor Summary
PathSequence(Path path, Sequence<? extends E> delegate)
           
 
Method Summary
 Sequence<Path> copy()
           
protected  Path findNext()
           
 int length()
           
 void reset()
           
 
Methods inherited from class jlibs.core.graph.sequences.AbstractSequence
current, findNext, hasNext, index, next, next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathSequence

public PathSequence(Path path,
                    Sequence<? extends E> delegate)
Method Detail

findNext

protected Path findNext()
Specified by:
findNext in class AbstractSequence<Path>

reset

public void reset()
Specified by:
reset in interface Sequence<Path>
Overrides:
reset in class AbstractSequence<Path>

copy

public Sequence<Path> copy()

length

public int length()
Specified by:
length in interface Sequence<Path>
Overrides:
length in class AbstractSequence<Path>


Copyright © 2018. All rights reserved.