Uses of Class
org.instancio.generator.hints.CollectionHint.Builder
Packages that use CollectionHint.Builder
-
Uses of CollectionHint.Builder in org.instancio.generator.hints
Methods in org.instancio.generator.hints that return CollectionHint.BuilderModifier and TypeMethodDescriptionstatic CollectionHint.BuilderCollectionHint.builder()CollectionHint.Builder.generateElements(int generateElements) Indicates how many elements the engine should generate and insert into the collection.CollectionHint.Builder.nullableElements(boolean nullableElements) Indicates whethernullelements are allowed to be generated.CollectionHint.Builder.shuffle(boolean shuffle) Indicates whether collection elements, once populated, should be randomly shuffled.CollectionHint.Builder.unique(boolean unique) Indicates that a collection containing unique elements should be generated.CollectionHint.Builder.withElements(List<? extends T> elements) Additional elements to be inserted into the collection by the engine during the population process.