Package score
Interface VarDB<E>
-
- Type Parameters:
E
- Variable type. It shall be readable and writable class.
public interface VarDB<E>
A variable DB holds one value.- See Also:
ObjectReader
,ObjectWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description E
get()
Returns the current value.E
getOrDefault(E defaultValue)
Returns the current value ordefaultValue
if the current value isnull
.void
set(E value)
Sets value.
-