Class Identity

  • All Implemented Interfaces:
    java.io.Serializable

    public final class Identity
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Identity​(java.lang.Object o)
      Creates an instance of this class, based upon the parameter passed in.
      Identity​(java.lang.Object[] array)  
      Identity​(java.lang.Object o1, java.lang.Object o2)  
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Identity

        public Identity​(java.lang.Object o)
        Creates an instance of this class, based upon the parameter passed in.
        Parameters:
        o - Either an Identity 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object