org.organicdesign.fp.collections.ImMapTrans Maven / Gradle / Ivy
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);
}