Class CellID

    • Field Detail

      • extendGUID1

        public ExGuid extendGUID1
      • extendGUID2

        public ExGuid extendGUID2
    • Constructor Detail

      • CellID

        public CellID​(ExGuid extendGuid1,
                      ExGuid extendGuid2)
        Initializes a new instance of the CellID class with specified ExGuids.
        Parameters:
        extendGuid1 - Specify the first ExGuid.
        extendGuid2 - Specify the second ExGuid.
      • CellID

        public CellID​(CellID cellId)
        Initializes a new instance of the CellID class, this is the copy constructor.
        Parameters:
        cellId - Specify the CellID.
      • CellID

        public CellID()
        Initializes a new instance of the CellID class, this is default constructor.
    • Method Detail

      • equals

        public boolean equals​(Object obj)
        Override the Equals method.
        Overrides:
        equals in class Object
        Parameters:
        obj - Specify the object.
        Returns:
        Return true if equals, otherwise return false.
      • hashCode

        public int hashCode()
        Override the GetHashCode.
        Overrides:
        hashCode in class Object
        Returns:
        Return the hash value.
      • doDeserializeFromByteArray

        protected int doDeserializeFromByteArray​(byte[] byteArray,
                                                 int startIndex)
                                          throws TikaException,
                                                 IOException
        This method is used to deserialize the CellID basic object from the specified byte array and start index.
        Specified by:
        doDeserializeFromByteArray in class BasicObject
        Parameters:
        byteArray - Specify the byte array.
        startIndex - Specify the start index from the byte array.
        Returns:
        Return the length in byte of the CellID basic object.
        Throws:
        TikaException
        IOException