com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class ClosedChoice<T>

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<ClosedChoice<T>>
    Direct Known Subclasses:
    StringChoice


    public abstract class ClosedChoice<T>
    extends Object
    implements com.aspose.ms.System.IEquatable<ClosedChoice<T>>

    Represents XMP Closed Choice.

    T: Type of closed choice.

    • Method Detail

      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
      • equals

        public boolean equals(Object obj)

        Indicates whether the current object is equal to another object of the same type.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<ClosedChoice<T>>
        Overrides:
        equals in class Object
        Parameters:
        obj - An object to compare with this object.
        Returns:
        true if the current object is equal to the obj parameter; otherwise, false.
      • equals

        public final boolean equals(ClosedChoice<T> other)

        Indicates whether the current object is equal to another object of the same type.

        Parameters:
        other - An object to compare with this object.

        T: Type of choice.

        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • toString

        public String toString()

        Returns a System.String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A System.String that represents this instance.