![JAR search and dependency download from the Maven repository](/logo.png)
com.g2forge.alexandria.java.identity.IIdentity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ax-java Show documentation
Show all versions of ax-java Show documentation
Standard Java library and the basis of the ${alexandria.name} project.
package com.g2forge.alexandria.java.identity;
/**
* Abstract encapsulation of the concept of a type's identity. This is particularly useful when you want to use objects of that type in a map or collection, but
* you want to define the {@link #equals(Object, Object)} and {@link #hashCode(Object)} objects in a way that differs from the type's default. Objects returned
* from {@link #of(Object)} will wrap values of the specified type T
and use the identity methods from this {@link IIdentity}.
*/
public interface IIdentity {
public static IIdentity
© 2015 - 2025 Weber Informatics LLC | Privacy Policy