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