Uses of Interface
org.midheaven.collections.Association
Packages that use Association
-
Uses of Association in org.midheaven.collections
Subinterfaces of Association in org.midheaven.collectionsModifier and TypeInterfaceDescriptioninterfaceEditableAssociation<K,V> AnAssociationthat permits changing the values for the present keys, but does not allow to add more keys or change the ones already associated.interfaceResizableAssociation<K,V> Defines and resizableAssociationthat accepts adding a removing entriesMethods in org.midheaven.collections that return AssociationModifier and TypeMethodDescription<K,V> Association <K, V> AssociationBuilder.empty()Returns an empty instance.<K,V> Association <K, V> Creates an instance from the provided source.<K,V> Association <K, V> AssociationBuilder.from(Association<K, V> association) Creates an instance from the provided source.<K,V> Association <K, V> AssociationBuilder.immutable(EditableAssociation<K, V> association) Performs immutable.Association.intersection(Association<K, V> other, BiFunction<V, V, V> valueSelector) Creates the intersection of this association with another.<K,V> Association <K, V> AssociationBuilder.of(K key, V value) Creates an instance from the provided value.final <K,V> Association <K, V> AssociationBuilder.ofEntries(Association.Entry<K, V>... entries) Returns of Entries.default Association<K, V> AssociatedEnumerable.toAssociation()Returns an Association with the keys and values inthisdefault Association<K, V> EditableAssociation.toUnmodifiable()Returns an unmodifiable view of thisEditableAssociationAssociation.union(Association<K, V> other, BiFunction<V, V, V> valueSelector) Creates the union of this association with another.Methods in org.midheaven.collections with parameters of type AssociationModifier and TypeMethodDescription<K,V> Association <K, V> AssociationBuilder.from(Association<K, V> association) Creates an instance from the provided source.<K,V> ResizableAssociation <K, V> ResizableAssociationBuilder.from(Association<K, V> association) Creates an instance from the provided source.Association.intersection(Association<K, V> other, BiFunction<V, V, V> valueSelector) Creates the intersection of this association with another.default voidResizableAssociation.intersectWith(Association<K, V> other, BiFunction<V, V, V> valueSelector) Removes all entries and retains only the ones common tootherandthis.Association.union(Association<K, V> other, BiFunction<V, V, V> valueSelector) Creates the union of this association with another.default voidResizableAssociation.unionWith(Association<K, V> other, BiFunction<V, V, V> valueSelector) Adds all entries inothertothis.