sky.monome.sequence.factory
Interface SequenceIteratorFactory<S extends Sequencer<S,B>,B extends ButtonManager<B>>
- Type Parameters:
S
- Type of sequencers that use sequence iterators built by this factory.B
- Type of button managers used by the sequencers that use sequence iterators built by this factory.
- All Known Implementing Classes:
- GenericSequenceIteratorFactory
public interface SequenceIteratorFactory<S extends Sequencer<S,B>,B extends ButtonManager<B>>
Sequence iterator factory. A factory of this kind can produce sequence iterators serially.
- Since:
- SkyMonome v1.1
- Author:
- PJ Skyman
createSequenceIterator
SequenceIterator<S,B> createSequenceIterator(java.lang.Object... arguments)
throws MonomeException
- Creates a sequence iterator with the help of optional arguments.
- Parameters:
arguments
- Optional arguments that can help the sequence iterator factoring.
Few factories need arguments to produce specific sequence iterators.
Generally, it is not used.
- Returns:
- A sequence iterator freshly created.
- Throws:
MonomeException
- When the sequence iterator factoring can't operate successfully.