public class BinaryArrayIdentityResolver extends BinaryAbstractIdentityResolver
Hash code is calculated in the same way as Arrays.hashCode(byte[])
does.
Constructor and Description |
---|
BinaryArrayIdentityResolver()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
equals0(BinaryObject o1,
BinaryObject o2)
Internal equals routine.
|
protected int |
hashCode0(BinaryObject obj)
Internal hash code routine.
|
static BinaryArrayIdentityResolver |
instance()
Get singleton instance.
|
String |
toString() |
equals, hashCode
public BinaryArrayIdentityResolver()
public static BinaryArrayIdentityResolver instance()
protected int hashCode0(BinaryObject obj)
hashCode0
in class BinaryAbstractIdentityResolver
obj
- Object.protected boolean equals0(BinaryObject o1, BinaryObject o2)
equals0
in class BinaryAbstractIdentityResolver
o1
- First object.o2
- Second object.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017