T - the type of elements in the collectionpublic abstract class CollectionRandomizer<T> extends Object implements Randomizer<Collection<T>>
| Modifier and Type | Field and Description |
|---|---|
protected Randomizer<T> |
delegate |
protected int |
nbElements |
| Modifier | Constructor and Description |
|---|---|
protected |
CollectionRandomizer(Randomizer<T> delegate) |
protected |
CollectionRandomizer(Randomizer<T> delegate,
int nbElements) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkArguments(Randomizer<T> delegate,
int nbElements) |
protected T |
getRandomElement() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRandomValueprotected int nbElements
protected Randomizer<T> delegate
protected CollectionRandomizer(Randomizer<T> delegate)
protected CollectionRandomizer(Randomizer<T> delegate, int nbElements)
protected void checkArguments(Randomizer<T> delegate, int nbElements)
protected T getRandomElement()
Copyright © 2016. All Rights Reserved.