Package org.midheaven.collections
Class ResizableAssociationBuilder
java.lang.Object
org.midheaven.collections.ResizableAssociationBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <K,V> Map <K, V> baseMap()Performs baseMap.protected <K,V> Map <K, V> Performs baseMap.<K,V> ResizableAssociation <K, V> empty()Returns an empty instance.<K,V> ResizableAssociation <K, V> Creates an instance from the provided source.<K,V> ResizableAssociation <K, V> from(Association<K, V> association) Creates an instance from the provided source.<K,V> ResizableAssociation <K, V> ofEntries(Association.Entry<K, V>... entries) Returns of Entries.
-
Constructor Details
-
ResizableAssociationBuilder
public ResizableAssociationBuilder()
-
-
Method Details
-
baseMap
Performs baseMap.- Returns:
- the result of baseMap
-
baseMap
Performs baseMap.- Parameters:
original- the original value- Returns:
- the result of baseMap
-
ofEntries
Returns of Entries.- Parameters:
entries- the entries value- Returns:
- the result of ofEntries
-
from
Creates an instance from the provided source.- Parameters:
association- the association value- Returns:
- the result of from
-
from
Creates an instance from the provided source.- Parameters:
map- the map value- Returns:
- the result of from
-
empty
Returns an empty instance.- Returns:
- the result of empty
-