com.aspose.note.revision

Interfaces

Classes

com.aspose.note.revision

Class ExtendedGuid

    • Field Detail

    • Constructor Detail

      • ExtendedGuid

        public ExtendedGuid(Guid guid,
                            long n)

        Initializes a new instance of the ExtendedGuid struct.

        Parameters:
        guid - The guid.
        n - The n.
      • ExtendedGuid

        public ExtendedGuid(String guid,
                            long n)

        Initializes a new instance of the ExtendedGuid struct.

        Parameters:
        guid - The guid.
        n - The n.
      • ExtendedGuid

        public ExtendedGuid(Guid guid)

        Initializes a new instance of the ExtendedGuid struct.

        Parameters:
        guid - The guid.
      • ExtendedGuid

        public ExtendedGuid(long n)

        Initializes a new instance of the ExtendedGuid struct.

        Parameters:
        n - The n.
    • Method Detail

      • newExtendedGuid

        public static ExtendedGuid newExtendedGuid()

        The new extended guid.

        Returns:
        The ExtendedGuid.
      • getGuid

        public Guid getGuid()

        The guid.

      • getN

        public long getN()

        It must be zero when the guid field value is Guid.Empty.

      • equals

        public boolean equals(Object obj)
        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<ExtendedGuid>
        Overrides:
        equals in class Object
      • hashCode

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

        public String toString()

        The to string.

        Overrides:
        toString in class Object
        Returns:
        The string.
      • toByteArray

        public byte[] toByteArray()

        The to byte array.

        Specified by:
        toByteArray in interface IBinarySerializable
        Returns:
        The T:byte[].
        Throws:
        com.aspose.ms.System.InvalidOperationException