|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.qualitytest.blueprint.CollectionBlueprint
public final class CollectionBlueprint
This class contains utilities for blueprinting collections.
| Method Summary | ||
|---|---|---|
static
|
addMany(T collection,
Class<E> clazz,
int numberOfItems)
A small utility to fill a collection automatically with blueprinted objects. |
|
static
|
addMany(T collection,
Class<E> clazz,
int numberOfItems,
BlueprintConfiguration config)
A small utility to fill a collection automatically with blueprinted objects. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T extends Collection<E>,E> T addMany(@Nonnull
T collection,
@Nonnull
Class<E> clazz,
@Nonnegative
int numberOfItems)
T - type of the objects to blueprint and addcollection - a collection where objects are supposed to be addedclazz - the class of the type which is to be addednumberOfItems - the number of items that should be added.Blueprint.def
public static <T extends Collection<E>,E> T addMany(@Nonnull
T collection,
@Nonnull
Class<E> clazz,
@Nonnegative
int numberOfItems,
@Nonnull
BlueprintConfiguration config)
T - type of the objects to blueprint and addcollection - a collection where objects are supposed to be addedclazz - the class of the type which is to be addednumberOfItems - the number of items that should be added.config - The configuration to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||