| Package | Description |
|---|---|
| cern.entwined |
| Modifier and Type | Method and Description |
|---|---|
static <T> GlobalReference<T> |
STMUtils.reference(Memory<?> memory,
GlobalReference<T> globalReference,
T value)
Either updates the
GlobalReference and returns it or, if the source is null, creates a new
GlobalReference with the given value and returns it. |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
STMUtils.dereference(GlobalReference<T> reference)
Returns referenced value or null if the reference is null.
|
static <T> GlobalReference<T> |
STMUtils.reference(Memory<?> memory,
GlobalReference<T> globalReference,
T value)
Either updates the
GlobalReference and returns it or, if the source is null, creates a new
GlobalReference with the given value and returns it. |
Copyright © 2013 CERN, The European Organization for Nuclear Research. All Rights Reserved.