Uses of Class
org.instancio.generator.hints.MapHint.Builder
-
Uses of MapHint.Builder in org.instancio.generator.hints
Modifier and TypeMethodDescriptionstatic MapHint.Builder
MapHint.builder()
Returns a builder for this hint type.MapHint.Builder.generateEntries
(int generateEntries) Indicates how many entries the engine should generate and insert into the map.MapHint.Builder.nullableMapKeys
(boolean nullableMapKeys) Indicates whethernull
s are allowed to be inserted as map keys.MapHint.Builder.nullableMapValues
(boolean nullableMapValues) Indicates whethernull
s are allowed to be inserted as map values.<K,
V> MapHint.Builder MapHint.Builder.withEntries
(Map<? extends K, ? extends V> entries) The specified entries will be inserted into the map by the engine during the population process.<K> MapHint.Builder
The specified keys will be inserted into the map by the engine during the population process.