Uses of Class
me.lauriichan.laylib.command.util.Option
Packages that use Option
-
Uses of Option in me.lauriichan.laylib.command
Methods in me.lauriichan.laylib.command that return Option -
Uses of Option in me.lauriichan.laylib.command.util
Methods in me.lauriichan.laylib.command.util that return OptionModifier and TypeMethodDescriptionstatic <T> Option<T> Option.empty()Returns an emptyOptioninstance.If a value is present, and the value matches the given predicate, returns anOptiondescribing the value, otherwise returns an emptyOption.<U> Option<U> If a value is present, returns the result of applying the givenOption-bearing mapping function to the value, otherwise returns an emptyOption.<U> Option<U> If a value is present, returns anOptiondescribing the result of applying the given mapping function to the value, otherwise returns an emptyOption.static <T> Option<T> Option.of(T value) Returns anOptiondescribing the given value.If a value is present, returns anOptiondescribing the value, otherwise returns anOptionproduced by the supplying function.Method parameters in me.lauriichan.laylib.command.util with type arguments of type OptionModifier and TypeMethodDescription<U> Option<U> If a value is present, returns the result of applying the givenOption-bearing mapping function to the value, otherwise returns an emptyOption.If a value is present, returns anOptiondescribing the value, otherwise returns anOptionproduced by the supplying function.