Class DefaultMapArbitrary<K,V>
java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<Map<K,V>>
net.jqwik.engine.properties.arbitraries.DefaultMapArbitrary<K,V>
- All Implemented Interfaces:
Cloneable,net.jqwik.api.arbitraries.MapArbitrary<K,,V> net.jqwik.api.arbitraries.SizableArbitrary<Map<K,,V>> net.jqwik.api.Arbitrary<Map<K,V>>
public class DefaultMapArbitrary<K,V>
extends net.jqwik.api.arbitraries.ArbitraryDecorator<Map<K,V>>
implements net.jqwik.api.arbitraries.MapArbitrary<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
net.jqwik.api.Arbitrary.ArbitraryFacade -
Constructor Summary
ConstructorsConstructorDescriptionDefaultMapArbitrary(net.jqwik.api.Arbitrary<K> keysArbitrary, net.jqwik.api.Arbitrary<V> valuesArbitrary) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()ofMaxSize(int maxSize) ofMinSize(int minSize) uniqueKeys(Function<K, Object> by) uniqueValues(Function<V, Object> by) withSizeDistribution(net.jqwik.api.RandomDistribution distribution) Methods inherited from class net.jqwik.api.arbitraries.ArbitraryDecorator
edgeCases, exhaustive, generator, generatorWithEmbeddedEdgeCases, isGeneratorMemoizable, toString, typedCloneMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.jqwik.api.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, withoutEdgeCasesMethods inherited from interface net.jqwik.api.arbitraries.MapArbitrary
ofSize
-
Constructor Details
-
DefaultMapArbitrary
-
-
Method Details
-
ofMinSize
-
ofMaxSize
-
withSizeDistribution
-
arbitrary
-
uniqueKeys
-
uniqueValues
-
uniqueValues
-
equals
-
hashCode
public int hashCode()
-