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 void
findNextCommand()
boolean
hasNext()
java.util.Iterator<Command<?>>
iterator()
Command<?>
next()
void
remove()
-
-
-
Constructor Detail
-
StreamingFilter
public StreamingFilter(CommandSequence stream)
-
-
Method Detail
-
iterator
public java.util.Iterator<Command<?>> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<Command<?>>
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<Command<?>>
-
findNextCommand
private void findNextCommand()
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<Command<?>>
-
-