Operator Evaluator
A boolean non-typed comparison operation on two given instances.
The equality checks support all types. The check is performed via the equals method. A null
reference is equal to another null
reference.
Order-based comparison supports only Comparable
types and com.google.protobuf.Timestamp. When trying to compare unsupported types, an UnsupportedOperationException
is thrown.
It is required that the runtime Java class of the two compared values is the same. Otherwise, an IllegalArgumentException
is thrown.
See also
for the comparison strategies
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.