E
- the type of elements held in this generator.public class UntilGenerate<E> extends LoopGenerator<E>
Generator
such that run(Procedure)
terminates once
a condition has been satisfied.Constructor and Description |
---|
UntilGenerate(Predicate<? super E> test,
Generator<? extends E> wrapped)
Create a new UntilGenerate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
run(Procedure<? super E> proc)
Generators must implement this method.
|
getWrappedGenerator, isStopped, stop
to, to, toCollection
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.