public static class TranslatorUtils.RawUnionValue
extends java.lang.Object
Constructor and Description |
---|
RawUnionValue(java.lang.String unionTag,
java.lang.Object value)
Constructs a partial union from the given union tag and value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getUnionTag() |
java.lang.Object |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public RawUnionValue(java.lang.String unionTag, java.lang.Object value)
unionTag
- tag of unionvalue
- value of unionpublic java.lang.String getUnionTag()
public java.lang.Object getValue()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object