public class ContextKey
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ContextKey |
HEADLESS_KEY
Opaque key - "headless" replacement
|
private long |
id
The context id
|
private static java.util.concurrent.atomic.AtomicLong |
IDS
ID generator
|
| Constructor and Description |
|---|
ContextKey() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
private static final java.util.concurrent.atomic.AtomicLong IDS
public static final ContextKey HEADLESS_KEY
private final long id
public final int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare.true if this object is the same as the obj
argument; false otherwise.