public class RawUnionValue
extends java.lang.Object
Constructor and Description |
---|
RawUnionValue(int 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) |
int |
getUnionTag() |
java.lang.Object |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public RawUnionValue(int unionTag, @Nullable java.lang.Object value)
public int getUnionTag()
@Nullable 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