M - The manipulator typeI - The immutable manipulator typepublic abstract class AbstractBooleanData<M extends DataManipulator<M,I>,I extends ImmutableDataManipulator<I,M>> extends AbstractSingleData<Boolean,M,I>
DataManipulator dealing specifically with a
boolean value type.defaultValue, usedKey, value| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBooleanData(boolean value,
Key<? extends BaseValue<Boolean>> usedKey,
boolean defaultValue)
Deprecated.
Use
AbstractBooleanData(Key, boolean, boolean) instead. |
protected |
AbstractBooleanData(Key<Value<Boolean>> usedKey,
boolean value) |
protected |
AbstractBooleanData(Key<Value<Boolean>> usedKey,
boolean value,
boolean defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
protected Value<Boolean> |
getValueGetter()
Gets the
Value as a method since this manipulator only focuses
on a single value. |
DataContainer |
toContainer()
Serializes this object into a comprehensible
DataContainer. |
asImmutable, equals, fillContainer, get, getValue, hashCode, registerGettersAndSetters, setValue, supportsgetKeys, getValue, getValues, registerFieldGetter, registerFieldSetter, registerKeyValue, set, transformclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcopy, fill, fill, from, set, set, setgetContentVersiongetOrElse, getOrNull, require, supports@Deprecated protected AbstractBooleanData(boolean value, Key<? extends BaseValue<Boolean>> usedKey, boolean defaultValue)
AbstractBooleanData(Key, boolean, boolean) instead.protected Value<Boolean> getValueGetter()
AbstractSingleDataValue as a method since this manipulator only focuses
on a single value.getValueGetter in class AbstractSingleData<Boolean,M extends DataManipulator<M,I>,I extends ImmutableDataManipulator<I,M>>public DataContainer toContainer()
DataSerializableDataContainer.toContainer in interface DataSerializabletoContainer in class AbstractData<M extends DataManipulator<M,I>,I extends ImmutableDataManipulator<I,M>>