E
- the type of elements held in this generator.public class GenerateUntil<E> extends LoopGenerator<E>
Generator
such that run(Procedure)
terminates once
a condition has been satisfied (test after).Constructor and Description |
---|
GenerateUntil(Generator<? extends E> wrapped,
Predicate<? super E> test)
Create a new GenerateUntil.
|
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.