| Package | Description |
|---|---|
| org.opencastproject.util.data |
| Modifier and Type | Class and Description |
|---|---|
class |
VCell<A>
Value cell, a mutable data container.
|
| Modifier and Type | Method and Description |
|---|---|
static <B,C,A> Cell<A> |
Cells.fcell(Cell<B> masterB,
Cell<C> masterC,
Function2<B,C,A> f) |
static <B,A> Cell<A> |
Cells.fcell(Cell<B> master,
Function<B,A> f) |
<B> Cell<B> |
VCell.lift(Function<A,B> f) |
abstract <B> Cell<B> |
Cell.lift(Function<A,B> f) |
static <A> Cell<A> |
Cells.memo(Function0<A> f)
Create a memo cell that calculates
f once and then returns the value. |
| Modifier and Type | Method and Description |
|---|---|
static <B,C,A> Cell<A> |
Cells.fcell(Cell<B> masterB,
Cell<C> masterC,
Function2<B,C,A> f) |
static <B,C,A> Cell<A> |
Cells.fcell(Cell<B> masterB,
Cell<C> masterC,
Function2<B,C,A> f) |
static <B,A> Cell<A> |
Cells.fcell(Cell<B> master,
Function<B,A> f) |
Copyright © 2009–2021 Opencast Project. All rights reserved.