org.organicdesign.fp.collections.ImMapTrans Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of UncleJim Show documentation
Show all versions of UncleJim Show documentation
Immutable Clojure collections and a Transformation abstraction for Java 8+, immutably, type-safely, and with good performance. Name will change to "Paguro" in November 2016.
The newest version!
package org.organicdesign.fp.collections;
/**
Replaced with {@link ImUnsortedMap} and {@link MutableUnsortedMap}.
*/
@Deprecated
public interface ImMapTrans extends MutableUnsortedMap {
MutableUnsortedMap mutable();
/** Returns the Equator used by this map for equals comparisons and hashCodes */
Equator equator();
/** Returns a immutable version of this mutable map. */
ImUnsortedMap immutable();
/** {@inheritDoc} */
@Override default ImSet keySet() { return PersistentHashSet.ofMap(this); }
/** {@inheritDoc} */
@Override
MutableUnsortedMap assoc(K key, V val);
/** {@inheritDoc} */
@Override
MutableUnsortedMap without(K key);
}