XmpClosedChoice
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.IEquatable
public abstract class XmpClosedChoice<T> implements System.IEquatable<XmpClosedChoice<T>>
Represents XMP Closed Choice.
T : Type of closed choice.
Methods
| Method | Description |
|---|---|
| hashCode() | Returns a hash code for this instance. |
| equals(Object obj) | Indicates whether the current object is equal to another object of the same type. |
| equals(XmpClosedChoice |
Indicates whether the current object is equal to another object of the same type. |
| toString() | Returns a String that represents this instance. |
hashCode()
public int hashCode()
Returns a hash code for this instance.
Returns: int - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
equals(Object obj)
public boolean equals(Object obj)
Indicates whether the current object is equal to another object of the same type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object | An object to compare with this object. |
Returns: boolean - true if the current object is equal to the obj parameter; otherwise, false.
equals(XmpClosedChoice other)
public final boolean equals(XmpClosedChoice<T> other)
Indicates whether the current object is equal to another object of the same type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | XmpClosedChoice | An object to compare with this object. |
Returns: boolean - true if the current object is equal to the other parameter; otherwise, false.
toString()
public String toString()
Returns a String that represents this instance.
Returns: java.lang.String - A String that represents this instance.