|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Donor | |
|---|---|
| com.natpryce.makeiteasy | A tiny framework to make it easy to write Test Data Builders in Java. |
| com.natpryce.makeiteasy.sequence | |
| Uses of Donor in com.natpryce.makeiteasy |
|---|
| Classes in com.natpryce.makeiteasy that implement Donor | |
|---|---|
class |
Maker<T>
Makes objects of a given type with a specified initial state. |
class |
NewCollectionDonor<T extends Collection<E>,E>
|
class |
SameValueDonor<T>
Always gives the sale value. |
| Methods in com.natpryce.makeiteasy that return Donor | ||
|---|---|---|
static
|
MakeItEasy.from(Iterable<T> values)
|
|
static
|
MakeItEasy.from(T... values)
|
|
static
|
MakeItEasy.fromRepeating(Iterable<T> values)
|
|
static
|
MakeItEasy.fromRepeating(T... values)
|
|
static
|
MakeItEasy.listOf(Donor<? extends T>... donors)
|
|
static
|
MakeItEasy.setOf(Donor<? extends T>... donors)
|
|
static
|
MakeItEasy.sortedSetOf(Donor<? extends T>... donors)
|
|
static
|
MakeItEasy.theSame(Donor<T> originalDonor)
|
|
static
|
MakeItEasy.theSame(Instantiator<T> instantiator,
PropertyValue<? super T,?>... propertyProviders)
|
|
| Methods in com.natpryce.makeiteasy with parameters of type Donor | ||
|---|---|---|
static
|
MakeItEasy.listOf(Donor<? extends T>... donors)
|
|
static
|
MakeItEasy.setOf(Donor<? extends T>... donors)
|
|
static
|
MakeItEasy.sortedSetOf(Donor<? extends T>... donors)
|
|
static
|
MakeItEasy.theSame(Donor<T> originalDonor)
|
|
|
PropertyLookup.valueOf(Property<? super T,V> property,
Donor<? extends V> defaultValueDonor)
|
|
|
Maker.valueOf(Property<? super T,V> property,
Donor<? extends V> defaultValue)
|
|
static
|
MakeItEasy.with(Donor<W> valueDonor,
Property<T,V> property)
|
|
static
|
MakeItEasy.with(Property<T,V> property,
Donor<W> valueDonor)
|
|
| Constructors in com.natpryce.makeiteasy with parameters of type Donor | |
|---|---|
NewCollectionDonor(Donor<? extends E>... elementDonors)
|
|
PropertyValue(Property<T,V> property,
Donor<? extends V> valueDonor)
|
|
| Constructor parameters in com.natpryce.makeiteasy with type arguments of type Donor | |
|---|---|
NewCollectionDonor(Iterable<? extends Donor<? extends E>> elementGivers)
|
|
| Uses of Donor in com.natpryce.makeiteasy.sequence |
|---|
| Classes in com.natpryce.makeiteasy.sequence that implement Donor | |
|---|---|
class |
ChainedSequence<T>
A sequence of values, each of which is calculated from the previous value in the sequence. |
class |
ElementsSequence<T>
|
class |
IndexedSequence<T>
A sequence of values, each of which is calculated from its index in the sequence. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||