All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.organicdesign.fp.collections.ImMapTrans Maven / Gradle / Ivy

Go to download

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy