
org.organicdesign.fp.collections.AbstractUnmodIterable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Paguro Show documentation
Show all versions of Paguro Show documentation
Immutable Clojure collections and a Transformation abstraction for Java 8+, immutably, type-safely, and with good performance.
package org.organicdesign.fp.collections;
/**
Implements equals and hashCode() methods compatible with all java.util collections (this
algorithm is not order-dependent) and toString which takes the name of the sub-class.
*/
public abstract class AbstractUnmodIterable implements UnmodIterable {
@Override public int hashCode() { return UnmodIterable.hash(this); }
@Override public String toString() {
return UnmodIterable.toString(getClass().getSimpleName(), this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy