Schnittstelle LongArbitrary
- Alle Superschnittstellen:
Arbitrary<Long>, NumericalArbitrary<Long, LongArbitrary>
@API(status=MAINTAINED,
since="1.0")
public interface LongArbitrary
extends NumericalArbitrary<Long, LongArbitrary>
Fluent interface to configure the generation of Long and long values.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen Arbitrary
Arbitrary.ArbitraryFacade -
Methodenübersicht
Modifikator und TypMethodeBeschreibungdefault LongArbitrarybetween(long min, long max) Set the allowed lowermin(included) and uppermax(included) bounds of generated numbers.greaterOrEqual(long min) Set the allowed lowermin(included) bound of generated numbers.lessOrEqual(long max) Set the allowed uppermax(included) bound of generated numbers.shrinkTowards(long target) Set shrinking target totargetwhich must be between the allowed bounds.Von Schnittstelle geerbte Methoden Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCasesVon Schnittstelle geerbte Methoden NumericalArbitrary
withDistribution
-
Methodendetails
-
between
Set the allowed lowermin(included) and uppermax(included) bounds of generated numbers. -
greaterOrEqual
Set the allowed lowermin(included) bound of generated numbers. -
lessOrEqual
Set the allowed uppermax(included) bound of generated numbers. -
shrinkTowards
Set shrinking target totargetwhich must be between the allowed bounds.
-