T
- the type of the referencepublic class MarkedReference<T> extends Object
AtomicMarkableReference
.Constructor and Description |
---|
MarkedReference(T reference,
boolean marked) |
Modifier and Type | Method and Description |
---|---|
static <S> MarkedReference<S> |
empty() |
T |
getReference() |
boolean |
isMarked() |
public MarkedReference(T reference, boolean marked)
public static <S> MarkedReference<S> empty()
S
- the type of the null referencepublic T getReference()
public boolean isMarked()
Copyright © 2008–2024 The CometD Project. All rights reserved.