@API(status=MAINTAINED, since="1.0") public interface SizableArbitrary<U> extends Arbitrary<U>
Arbitrary.ArbitraryFacade
Modifier and Type | Method and Description |
---|---|
SizableArbitrary<U> |
ofMaxSize(int maxSize)
Set upper size boundary
maxSize (included). |
SizableArbitrary<U> |
ofMinSize(int minSize)
Set lower size boundary
minSize (included). |
default SizableArbitrary<U> |
ofSize(int size)
Fix the size to
size . |
allValues, array, asGeneric, collect, dontShrink, edgeCases, exhaustive, exhaustive, filter, fixGenSize, flatMap, forEachValue, generator, ignoreException, injectDuplicates, injectNull, isUnique, iterator, list, map, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, unique
default SizableArbitrary<U> ofSize(int size)
size
.SizableArbitrary<U> ofMinSize(int minSize)
minSize
(included).SizableArbitrary<U> ofMaxSize(int maxSize)
maxSize
(included).