net.java.quickcheck.generator.support
Class ExcludingGenerator<T>
java.lang.Object
net.java.quickcheck.generator.support.VetoableGenerator<T>
net.java.quickcheck.generator.support.ExcludingGenerator<T>
- All Implemented Interfaces:
- Generator<T>
public class ExcludingGenerator<T>
- extends VetoableGenerator<T>
Method Summary |
protected boolean |
tryValue(T value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcludingGenerator
public ExcludingGenerator(Generator<T> generator,
Collection<T> excluded,
int tries)
tryValue
protected boolean tryValue(T value)
- Specified by:
tryValue
in class VetoableGenerator<T>
- Returns:
- true to accept the current value.
Copyright © 2011. All Rights Reserved.