- of(boolean) - Static method in class com.nukkitx.protocol.util.OptionalBoolean
-
Return an OptionalBoolean with the specified value present.
- onDisconnect(DisconnectReason) - Method in interface com.nukkitx.protocol.PlayerSession
-
- onDisconnect(String) - Method in interface com.nukkitx.protocol.PlayerSession
-
- OptionalBoolean - Class in com.nukkitx.protocol.util
-
A container object which may or may not contain a boolean value.
- orElse(boolean) - Method in class com.nukkitx.protocol.util.OptionalBoolean
-
Return the value if present, otherwise return other.
- orElseGet(BooleanSupplier) - Method in class com.nukkitx.protocol.util.OptionalBoolean
-
Return the value if present, otherwise invoke other and return
the result of that invocation.
- orElseThrow(Supplier<X>) - Method in class com.nukkitx.protocol.util.OptionalBoolean
-
Return the contained value, if present, otherwise throw an exception
to be created by the provided supplier.