public class CapturingSlot<T>
Slot allows to capture one value.
If this values is lambda then it's possible to invoke it.
| Modifier and Type | Field and Description |
|---|---|
T |
captured |
| Constructor and Description |
|---|
CapturingSlot()
Slot allows to capture one value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
T |
getCaptured() |
boolean |
isCaptured() |
boolean |
isNull() |
void |
setCaptured(boolean p) |
void |
setCaptured(T p) |
void |
setNull(boolean p) |
java.lang.String |
toString() |
public CapturingSlot()
Slot allows to capture one value.
If this values is lambda then it's possible to invoke it.
public boolean isCaptured()
public void setCaptured(boolean p)
public boolean isNull()
public void setNull(boolean p)
public T getCaptured()
public void setCaptured(T p)
public void clear()
public java.lang.String toString()