Package org.exolab.castor.persist.spi
Class Identity
- java.lang.Object
-
- org.exolab.castor.persist.spi.Identity
-
- All Implemented Interfaces:
java.io.Serializable
public final class Identity extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.Object
get(int i)
int
hashCode()
int
size()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Identity
public Identity(java.lang.Object o)
Creates an instance of this class, based upon the parameter passed in.- Parameters:
o
- Either anIdentity
instance, or an Object[] instance.
-
Identity
public Identity(java.lang.Object[] array)
-
Identity
public Identity(java.lang.Object o1, java.lang.Object o2)
-
-
Method Detail
-
size
public int size()
-
get
public java.lang.Object get(int i)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-