Package eu.simuline.util
Class PathFinder.PrintFilter
- java.lang.Object
-
- eu.simuline.util.PathFinder
-
- eu.simuline.util.PathFinder.Secondary
-
- eu.simuline.util.PathFinder.PrintFilter
-
- Enclosing class:
- PathFinder
class PathFinder.PrintFilter extends PathFinder.Secondary
A filter passing all information and printing it onstr.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class eu.simuline.util.PathFinder
PathFinder.AndFilter, PathFinder.Callable, PathFinder.ExecFilter, PathFinder.ExecJavaFilter, PathFinder.Filter, PathFinder.NameFilter, PathFinder.NegFilter, PathFinder.OrFilter, PathFinder.Primary, PathFinder.PrintFilter, PathFinder.Secondary
-
-
Constructor Summary
Constructors Constructor Description PrintFilter(PathFinder encl, PrintStream str)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pathnext()Returns the next path this finder can emit.-
Methods inherited from class eu.simuline.util.PathFinder.Secondary
getNext, hasNext, updateNext
-
Methods inherited from class eu.simuline.util.PathFinder
add, and, exec, execFilter, execJava, execJavaFilter, main, name, nameFilter, not, or, path, print
-
-
-
-
Field Detail
-
str
private final PrintStream str
-
idx
private int idx
-
-
Constructor Detail
-
PrintFilter
PrintFilter(PathFinder encl, PrintStream str)
-
-
Method Detail
-
next
public Path next()
Description copied from class:PathFinderReturns the next path this finder can emit. This does not throw an exception iffPathFinder.hasNext()returns true.- Overrides:
nextin classPathFinder.Secondary
-
-