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, exhaustive, filter, fixGenSize, flatMap, generator, injectNull, iterator, list, map, optional, set, stream, unique, withSamples
default SizableArbitrary<U> ofSize(int size)
size
.SizableArbitrary<U> ofMinSize(int minSize)
minSize
(included).SizableArbitrary<U> ofMaxSize(int maxSize)
maxSize
(included).