public abstract class ValueObject extends Object implements com.aspose.ms.System.IEquatable<ValueObject>, Serializable
Abstract value object class.
| Constructor and Description |
|---|
ValueObject() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determines whether two object instances are equal.
|
boolean |
equals(ValueObject other)
Determines whether two object instances are equal.
|
int |
hashCode()
Serves as the default hash function.
|
static boolean |
op_Equality(ValueObject a,
ValueObject b)
Equality operator.
|
static boolean |
op_Inequality(ValueObject a,
ValueObject b)
Inequality operator.
|
public boolean equals(Object obj)
Determines whether two object instances are equal.
equals in interface com.aspose.ms.System.IEquatable<ValueObject>equals in class Objectobj - The object to compare with the current object.true if the specified object is equal to the current object; otherwise, false.public final boolean equals(ValueObject other)
Determines whether two object instances are equal.
other - The object to compare with the current object.true if the specified object is equal to the current object; otherwise, false.public int hashCode()
Serves as the default hash function.
public static boolean op_Equality(ValueObject a, ValueObject b)
Equality operator.
a - The first objectb - The second objecttrue if objects are equalpublic static boolean op_Inequality(ValueObject a, ValueObject b)
Inequality operator.
a - The first objectb - The second objecttrue if objects are not equalCopyright © 2025. All rights reserved.