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