Package net.pl3x.map.core.markers.option
Class Option<T extends Option<T>>
java.lang.Object
net.pl3x.map.core.markers.option.Option<T>
- All Implemented Interfaces:
JsonSerializable
@NullMarked
public abstract class Option<T extends Option<T>>
extends Object
implements JsonSerializable
Represents marker option properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
Check whether all options are defaults (all are null)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.pl3x.map.core.markers.JsonSerializable
toJson
-
Constructor Details
-
Option
public Option()
-
-
Method Details
-
isDefault
public abstract boolean isDefault()Check whether all options are defaults (all are null)- Returns:
- true if all options are null
-