public final class Unknown
extends java.lang.Object
Used in unions matching special methods to ignore a value.
Note that this break the commutativity property of equals
, and thus this object must be
used with caution.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static Unknown |
get() |
int |
hashCode() |
public static Unknown get()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object