
org.organicdesign.fp.collections.ImSetTrans Maven / Gradle / Ivy
package org.organicdesign.fp.collections;
/**
You could think of this as a builder for a PersistentHashSet. It builds a little faster than the
persistent one. This is inherently NOT thread-safe.
*/
public interface ImSetTrans extends ImSet {
/** {@inheritDoc} */
@Override ImSetTrans put(E val);
/** {@inheritDoc} */
@Override ImSetTrans without(E key);
/** Returns a persistent/immutable version of this transient map. */
ImSet persistent();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy