Uses of Class
org.magicwerk.brownies.collections.Key1Set.Builder
Packages that use Key1Set.Builder
Package
Description
Brownies Collections complements the Java Collections Framework.
-
Uses of Key1Set.Builder in org.magicwerk.brownies.collections
Methods in org.magicwerk.brownies.collections that return Key1Set.BuilderModifier and TypeMethodDescriptionprotected Key1Set.Builder<E, K> Key1Set.getBuilder()Key1Set.Builder.withAfterDeleteTrigger(Consumer<E> trigger) Key1Set.Builder.withAfterInsertTrigger(Consumer<E> trigger) Key1Set.Builder.withBeforeDeleteTrigger(Consumer<E> trigger) Key1Set.Builder.withBeforeInsertTrigger(Consumer<E> trigger) Key1Set.Builder.withCapacity(int capacity) Key1Set.Builder.withConstraint(Predicate<E> constraint) Key1Set.Builder.withContent(E... elements) Key1Set.Builder.withContent(Collection<? extends E> elements) Key1Set.Builder.withElemCount(boolean count) Specifies that the collection only counts the number of occurrences of equal elements, but does not store the elements themselves.Key1Set.Builder.withElemDuplicates(boolean allowDuplicates) Specify whether duplicates are allowed or not.Key1Set.Builder.withElemDuplicates(boolean allowDuplicates, boolean allowDuplicatesNull) Specify whether duplicates are allowed or not.Key1Set.Builder.withElemNull(boolean allowNull) Key1Set.Builder.withElemSet()Add element map (with ident mapper).Key1Set.Builder.withElemSort(boolean sort) Key1Set.Builder.withElemSort(Comparator<? super E> comparator) Key1Set.Builder.withElemSort(Comparator<? super E> comparator, boolean sortNullsFirst) Key1Set.Builder.withKey1Duplicates(boolean allowDuplicates) Key1Set.Builder.withKey1Duplicates(boolean allowDuplicates, boolean allowDuplicatesNull) Key1Set.Builder.withKey1Map(Function<? super E, K> mapper) Add key map.Key1Set.Builder.withKey1Null(boolean allowNull) Key1Set.Builder.withKey1Sort(boolean sort) Key1Set.Builder.withKey1Sort(Comparator<? super K> comparator) Set comparator to use for sorting the key map.Key1Set.Builder.withKey1Sort(Comparator<? super K> comparator, boolean sortNullsFirst) Set comparator to use for sorting the key map.Key1Set.Builder.withMaxSize(int maxSize) Key1Set.Builder.withNull(boolean allowNull) Key1Set.Builder.withOrderByElem(boolean orderBy) Key1Set.Builder.withOrderByKey1(boolean orderBy) Key1Set.Builder.withPrimaryElem()Specify the element to be a primary key.Key1Set.Builder.withPrimaryKey1Map(Function<? super E, K> mapper) Specify this key to be a primary key.Key1Set.Builder.withSetBehavior(boolean setBehavior) Specifies that the collection behaves like aSeton adding elements, i.e.Key1Set.Builder.withUniqueElem()Specify the element to be a unique key.Key1Set.Builder.withUniqueKey1Map(Function<? super E, K> mapper) Specify this key to be a unique key.