| org.databene.benerator.sample.SequencedSampleGenerator
SequencedSampleGenerator | public class SequencedSampleGenerator extends LightweightGenerator (Code) | | Generates values from an unweighted list of samples.
Created: 07.06.2006 19:04:08
|
SequencedSampleGenerator | public SequencedSampleGenerator()(Code) | | |
SequencedSampleGenerator | public SequencedSampleGenerator(Class<E> targetType)(Code) | | Initializes the generator to an empty sample list
|
SequencedSampleGenerator | public SequencedSampleGenerator(Class<E> targetType, E... values)(Code) | | Initializes the generator to a sample list
|
SequencedSampleGenerator | public SequencedSampleGenerator(Class<E> targetType, Sequence distribution, E... values)(Code) | | Initializes the generator to a sample list
|
SequencedSampleGenerator | public SequencedSampleGenerator(Class<E> targetType, Collection<E> values)(Code) | | Initializes the generator to a sample list
|
SequencedSampleGenerator | public SequencedSampleGenerator(Class<E> targetType, Sequence distribution, Collection<E> values)(Code) | | Initializes the generator to a sample list
|
addValue | public void addValue(E value)(Code) | | Adds a value to the sample list
|
addValues | public void addValues(E... values)(Code) | | Adds values to the sample list
|
addValues | public void addValues(Collection<E> values)(Code) | | Adds values to the sample list
|
generate | public static T generate(T... samples)(Code) | | Convenience utility method that chooses one sample out of a list with uniform random distribution
|
generate | public static T generate(List<T> samples)(Code) | | Convenience utility method that chooses one sample out of a list with uniform random distribution
|
getGeneratedType | public Class<E> getGeneratedType()(Code) | | |
setDistribution | public void setDistribution(Sequence distribution)(Code) | | |
setValues | public void setValues(Collection<E> values)(Code) | | Adds values to the sample list
|
setValues | public void setValues(E... values)(Code) | | Sets the sample list to the specified values
|
validate | public void validate()(Code) | | Initializes all attributes
|
|
|