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

com.github.krukow.clj_ds.TransientMap Maven / Gradle / Ivy

package com.github.krukow.clj_ds;

public interface TransientMap {

	/**
	 * @return A new {@link PersistentMap} consisting of the content of the
	 *         current {@link PersistentMap} where the given key is associated
	 *         to the value val (no guarantees are made on the current map). The
	 *         new association may replace a previous association.
	 */
	TransientMap plus(K key, V val);

	/**
	 * @return A new {@link PersistentMap} consisting of the content of the
	 *         current {@link PersistentMap} without the association to the
	 *         given key (no guarantees are made on the current map).
	 */
	TransientMap minus(K key);

	PersistentMap persist();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy