Class SameIdentity
- java.lang.Object
-
- com.g2forge.alexandria.java.adt.identity.SameIdentity
-
- All Implemented Interfaces:
IIdentity<Object>
,ISingleton
public class SameIdentity extends Object implements IIdentity<Object>, ISingleton
Identity based on same-ness of objects. Two objects must literally be the same object (not just have similar field values or something) in memory for this identity to consider them equal.- See Also:
StandardIdentity
,IIdentity.same()
-
-
Field Summary
Fields Modifier and Type Field Description protected static SameIdentity
SINGLETON
-
Constructor Summary
Constructors Constructor Description SameIdentity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SameIdentity
create()
boolean
equals(Object _this, Object that)
int
hashCode(Object _this)
String
toString()
-
-
-
Field Detail
-
SINGLETON
protected static final SameIdentity SINGLETON
-
-
Method Detail
-
create
public static SameIdentity create()
-
-