Package org.instancio.internal
Class OfMapApiImpl<K,V,M extends Map<K,V>>
java.lang.Object
org.instancio.internal.ApiImpl<T>
org.instancio.internal.OfClassApiImpl<M>
org.instancio.internal.OfMapApiImpl<K,V,M>
- All Implemented Interfaces:
InstancioApi<M>
,InstancioOfClassApi<M>
,InstancioOfCollectionApi<M>
public final class OfMapApiImpl<K,V,M extends Map<K,V>>
extends OfClassApiImpl<M>
implements InstancioOfCollectionApi<M>
-
Constructor Summary
-
Method Summary
Methods inherited from class org.instancio.internal.OfClassApiImpl
withTypeParameters
Methods inherited from class org.instancio.internal.ApiImpl
addTypeParameters, asResult, create, generate, generate, ignore, lenient, onComplete, set, stream, subtype, supply, supply, toModel, withNullable, withSeed, withSettings
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.instancio.InstancioApi
asResult, create, generate, generate, ignore, lenient, onComplete, set, stream, subtype, supply, supply, toModel, withNullable, withSeed, withSettings
-
Constructor Details
-
OfMapApiImpl
-
-
Method Details
-
size
Description copied from interface:InstancioOfCollectionApi
Specifies collection size to generate.- Specified by:
size
in interfaceInstancioOfCollectionApi<K>
- Parameters:
size
- of the collection to generate- Returns:
- API builder reference
-