Produces an instance using a clone of the specified array to ensure that changes to the array
will not influence the values returned by the instance's methods.
Produces an instance using a copy of the specified List to ensure that changes to the List
will not influence the values returned by the instance's methods.
Look for the specified key in the leaf object and return a Holder
that is empty if the key is not in the leaf or else contains a JImmutableMap.Entry
associated with the key and value.
Look for the specified key in the leaf object and return a Holder
that is empty if the key is not in the leaf or else contains the value associated
with the key.
Produces a Curried Func1 that calls the provided Func3 passing it the fixed parameters
param1 and param2 along with the actual parameters to the apply() method.
Produces a Curried Func1 that calls the provided Func4 passing it the fixed parameters
param1 and param2 along with the actual parameters to the apply() method.
JImmutableListMap implementation that allows keys to be traversed in sorted order using a Comparator
of the natural ordering of the keys if they implement Comparable.
Immutable implementation of both Map.Entry and PersistentMap.Entry that uses the same equals() and hashCode() implementations as
documented in javadoc for Map.Entry.
Cursor that produces values by visiting all values in a Cursor of objects and
using a Func1 on each object to produce a Cursor that is then visited to
reach all of its elements.
When converting legacy code to use JImmutableMap there are sometimes objects that shared the mutable
version of their internal Map field with other classes.
Produces a Curried Func1 that calls the provided Func4 passing it the fixed parameters
param1-param3 along with the actual parameter to the apply() method as the fourth parameter.
Produces a Curried Func1 that calls the provided Func3 passing it the fixed parameters
param1-param2 along with the actual parameter to the apply() method as the third parameter.
Produces a Curried Func1 that calls the provided Func2 passing it the fixed parameter
param1 along with the actual parameter to the apply() method as the second parameter.
Test program to run an infinite loop feeding data to a PersistentMap, querying the
data, and deleting the data to verify the map always contains what it should.