cell library
Classes
-
Cell<
T> - A wrapper with interior mutability. Useful for primitives and an escape hatch for working with immutable data patterns.
-
ConstCell<
T> - A constant container.
-
LazyCell<
T extends Object> - A value which is initialized on the first access.
-
LazyCellAsync<
T extends Object> - A value which is asynchronously initialized on the first access.
-
NonNullableLazyCell<
T extends Object> - A value which is initialized on the first access. Non-nullable implementation of LazyCell
-
NonNullableLazyCellAsync<
T extends Object> - A value which is asynchronously initialized on the first access. Non-nullable implementation of LazyCellAsync
-
NonNullableOnceCell<
T extends Object> - OnceCell, A cell which can be written to only once. OnceCell implementation based off Option
-
NullableLazyCell<
T> - A value which is initialized on the first access. Nullable implementation of LazyCell
-
NullableLazyCellAsync<
T> - A value which is asynchronously initialized on the first access. Nullable implementation of LazyCellAsync
-
NullableOnceCell<
T> -
OnceCell, A cell which can be written to only once. OnceCell implementation that allows
T
to be null and does not use Option -
OnceCell<
T extends Object> - OnceCell, A cell which can be written to only once.
Extensions
-
BoolCellExtension
on Cell<
bool> -
BoolConstCellExtension
on ConstCell<
bool> -
DoubleCellExtension
on Cell<
double> -
DoubleConstCellExtension
on ConstCell<
double> -
IntCellExtension
on Cell<
int> -
IntConstCellExtension
on ConstCell<
int> -
StringCellExtension
on Cell<
String> -
StringConstCellExtension
on ConstCell<
String>