| Package | Description |
|---|---|
| no.digipost.concurrent | |
| no.digipost.util |
| Modifier and Type | Class and Description |
|---|---|
class |
OneTimeAssignment<V>
A reference which may or may not be assigned a value, with the added constraint
that it can only be assigned once.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChainableAssignment<V,C>
An
Assignment with the added ability to chain several assignments
with ChainableAssignment.is(Object). |
| Modifier and Type | Method and Description |
|---|---|
static <V> Assignment<V> |
Assignment.from(AtomicReference<V> reference)
Create a new
Assignment which uses an AtomicReference
to hold the assigned value. |
static <V,S> Assignment<V> |
Assignment.from(S container,
Function<? super S,V> getter,
BiConsumer<? super S,? super V> setter)
Create a new
Assignment, which assigns to and retrieves from an arbitrary container object. |
| Constructor and Description |
|---|
ChainableAssignment(Assignment<V> assignment,
C chainReturnObject) |
Copyright © 2018 Digipost. All rights reserved.