private final class ConstantSet.ConstantImpl extends java.lang.Object implements Constant
Constructor and Description |
---|
ConstantImpl(Constant constant) |
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
java.lang.String |
name() |
java.lang.String |
toString() |
int |
value() |
private final Constant constant
ConstantImpl(Constant constant)
public int value()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object