Uses of Class
org.instancio.generator.hints.ArrayHint.Builder
Packages that use ArrayHint.Builder
-
Uses of ArrayHint.Builder in org.instancio.generator.hints
Methods in org.instancio.generator.hints that return ArrayHint.BuilderModifier and TypeMethodDescriptionstatic ArrayHint.Builder
ArrayHint.builder()
Returns a builder for this hint type.ArrayHint.Builder.nullableElements
(boolean nullableElements) Indicates whethernull
elements are allowed to be generated.ArrayHint.Builder.shuffle
(boolean shuffle) Indicates whether array elements, once populated, should be randomly shuffled.ArrayHint.Builder.withElements
(List<? extends T> elements) Additional elements to be inserted into the array by the engine during the population process.