Uses of Class
org.magicwerk.brownies.collections.KeyCollectionImpl.BuilderImpl
Packages that use KeyCollectionImpl.BuilderImpl
Package
Description
Brownies Collections complements the Java Collections Framework.
-
Uses of KeyCollectionImpl.BuilderImpl in org.magicwerk.brownies.collections
Subclasses of KeyCollectionImpl.BuilderImpl in org.magicwerk.brownies.collectionsModifier and TypeClassDescriptionstatic class
Builder to construct Key1Collection instances.static class
Key1List.Builder<E,
K> Builder to construct Key1List instances.static class
Key1Set.Builder<E,
K> Builder to construct Key1Set instances.static class
Key2Collection.Builder<E,
K1, K2> Builder to construct Key2Collection instances.static class
Key2List.Builder<E,
K1, K2> Builder to construct Key2List instances.static class
Key2Set.Builder<E,
K1, K2> Builder to construct Key2Set instances.static class
Builder to construct KeyCollection instances.static class
Builder to construct KeyList instances.static class
Builder to construct KeySet instances.Methods in org.magicwerk.brownies.collections that return KeyCollectionImpl.BuilderImplModifier and TypeMethodDescriptionprotected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withAfterDeleteTrigger
(Consumer<E> trigger) Specify delete trigger.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withAfterInsertTrigger
(Consumer<E> trigger) Specify insert trigger.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withBeforeDeleteTrigger
(Consumer<E> trigger) Specify delete trigger.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withBeforeInsertTrigger
(Consumer<E> trigger) Specify insert trigger.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withCapacity
(int capacity) Specify initial capacity.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withConstraint
(Predicate<E> constraint) Specify element constraint.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withContent
(E... elements) Specify elements added to the collection upon creation.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withContent
(Collection<? extends E> elements) Specify elements added to the collection upon creation.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withElemCount
(boolean count) Specifies that the collection only counts the number of occurrences of equal elements, but does not store the elements themselves.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withElemDuplicates
(boolean allowDuplicates) Specify whether duplicates are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withElemDuplicates
(boolean allowDuplicates, boolean allowDuplicatesNull) Specify whether duplicates are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withElemNull
(boolean allowNull) Specifies whether null elements are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withElemSet()
Add element map (with ident mapper).protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withElemSort
(boolean sort) Specify that the element set should be sorted using the natural comparator.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withElemSort
(Comparator<? super E> comparator) Set comparator to use for sorting the element set.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withElemSort
(Comparator<? super E> comparator, boolean sortNullsFirst) Set comparator to use for sorting the element set.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKey1Duplicates
(boolean allowDuplicates) Specify whether duplicates are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKey1Duplicates
(boolean allowDuplicates, boolean allowDuplicatesNull) Specify whether duplicates are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKey1Null
(boolean allowNull) Specify whether null elements are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKey1Sort
(boolean sort) Set comparator to use for sorting the key map.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKey2Duplicates
(boolean allowDuplicates) Specify whether duplicates are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKey2Duplicates
(boolean allowDuplicates, boolean allowDuplicatesNull) Specify whether duplicates are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKey2Null
(boolean allowNull) Specify whether null elements are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKey2Sort
(boolean sort) Set comparator to use for sorting the key map.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKeyDuplicates
(int keyIndex, boolean allowDuplicates, boolean allowDuplicatesNull) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKeyMap
(int keyIndex, Function mapper) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKeyNull
(int keyIndex, boolean allowNull) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKeySort
(int keyIndex, boolean sort) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKeySort
(int keyIndex, Comparator<?> comparator) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withKeySort
(int keyIndex, Comparator<?> comparator, boolean sortNullsFirst) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withListBig
(boolean big) Specify whether list should be stored in an instance of BigList or GapList.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withListType
(Class<?> type) Specifies that the list will store its elements as primitive type.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withMaxSize
(int maxSize) Specify maximum size of collection.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withNull
(boolean allowNull) Specifies whether null elements are allowed or not.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withOrderByElem
(boolean orderBy) Specifies that the collection will have the order of the element set.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withOrderByElem
(Class<?> type) Specifies that the list will have the order of the element set.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withOrderByKey
(int keyIndex, boolean orderBy) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withOrderByKey
(int keyIndex, Class<?> type) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withOrderByKey1
(boolean orderBy) Specifies that the collection will have the order of the key map.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withOrderByKey1
(Class<?> type) Specifies that the list will have the order of the key map.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withOrderByKey2
(boolean orderBy) Specifies that the collection will have the order of the key map.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withOrderByKey2
(Class<?> type) Specifies that the list will have the order of the key map.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withPrimaryElem()
Specify the element to be a primary key.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withPrimaryKeyMap
(int keyIndex, Function mapper) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withSetBehavior
(boolean setBehavior) Specifies that the collection behaves like aSet
on adding elements, i.e.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withUniqueElem()
Specify the element to be a unique key.protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withUniqueKeyMap
(int keyIndex, Function mapper) protected KeyCollectionImpl.BuilderImpl
<E> KeyCollectionImpl.BuilderImpl.withWindowSize
(int maxSize) Specify maximum window size of collection.