Uses of Class
me.nemo_64.betterinputs.api.util.Option
-
Packages that use Option Package Description me.nemo_64.betterinputs.api.util me.nemo_64.betterinputs.api.util.argument -
-
Uses of Option in me.nemo_64.betterinputs.api.util
Methods in me.nemo_64.betterinputs.api.util that return Option Modifier and Type Method Description static <T> Option<T>Option. empty()Returns an emptyOptioninstance.Option<T>Option. filter(Predicate<? super T> predicate)If a value is present, and the value matches the given predicate, returns anOptiondescribing the value, otherwise returns an emptyOption.<U> Option<U>Option. flatMap(Function<? super T,? extends Option<? extends U>> mapper)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>Option. map(Function<? super T,? extends U> mapper)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.Option<T>Option. or(Supplier<? extends Option<? extends T>> supplier)If a value is present, returns anOptiondescribing the value, otherwise returns anOptionproduced by the supplying function.Method parameters in me.nemo_64.betterinputs.api.util with type arguments of type Option Modifier and Type Method Description <U> Option<U>Option. flatMap(Function<? super T,? extends Option<? extends U>> mapper)If a value is present, returns the result of applying the givenOption-bearing mapping function to the value, otherwise returns an emptyOption.Option<T>Option. or(Supplier<? extends Option<? extends T>> supplier)If a value is present, returns anOptiondescribing the value, otherwise returns anOptionproduced by the supplying function. -
Uses of Option in me.nemo_64.betterinputs.api.util.argument
Methods in me.nemo_64.betterinputs.api.util.argument that return Option Modifier and Type Method Description Option<Object>ArgumentMap. get(String key)<E> Option<E>ArgumentMap. get(String key, Class<E> type)Option<Class<?>>ArgumentMap. getClass(String key)<E> Option<Class<? extends E>>ArgumentMap. getClass(String key, Class<E> abstraction)
-