- java.lang.Object
-
- com.pervasive.datarush.analytics.util.DynamicEnum.Value
-
- Enclosing class:
- DynamicEnum
public static final class DynamicEnum.Value extends Object
A value of a given enumeration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Equals is defined to use identity-equality.int
hashCode()
Hashcode is defined to use identity-equality.String
name()
Return the name of the value.int
ordinal()
Return the ordinal of the value.String
toString()
Returns a string value of the name of the value or "null" for null names.
-
-
-
Method Detail
-
name
public String name()
Return the name of the value.- Returns:
- the name of the value.
-
ordinal
public int ordinal()
Return the ordinal of the value.- Returns:
- the ordinal of the value.
-
equals
public boolean equals(Object o)
Equals is defined to use identity-equality.
-
hashCode
public int hashCode()
Hashcode is defined to use identity-equality.
-
-