Class StreamingFilter
- java.lang.Object
-
- de.erichseifert.vectorgraphics2d.intermediate.filters.StreamingFilter
-
- All Implemented Interfaces:
CommandSequence,Filter,java.lang.Iterable<Command<?>>,java.util.Iterator<Command<?>>
- Direct Known Subclasses:
AbsoluteToRelativeTransformsFilter,FillPaintedShapeAsImageFilter,GroupingFilter,OptimizeFilter
public abstract class StreamingFilter extends java.lang.Object implements java.util.Iterator<Command<?>>, Filter
-
-
Constructor Summary
Constructors Constructor Description StreamingFilter(CommandSequence stream)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.util.List<Command<?>>filter(Command<?> command)private voidfindNextCommand()booleanhasNext()java.util.Iterator<Command<?>>iterator()Command<?>next()voidremove()
-
-
-
Constructor Detail
-
StreamingFilter
public StreamingFilter(CommandSequence stream)
-
-
Method Detail
-
iterator
public java.util.Iterator<Command<?>> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<Command<?>>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<Command<?>>
-
findNextCommand
private void findNextCommand()
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<Command<?>>
-
-