Package net.minecraftforge.fml.loading
Class Java9BackportUtils
java.lang.Object
net.minecraftforge.fml.loading.Java9BackportUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
U, A, R> Collector<T, ?, R> flatMapping
(Function<? super T, ? extends Stream<? extends U>> mapper, Collector<? super U, A, R> downstream) static <T> void
ifPresentOrElse
(Optional<T> optional, Consumer<? super T> action, Runnable emptyAction) static <T> Stream<T>
-
Constructor Details
-
Java9BackportUtils
public Java9BackportUtils()
-
-
Method Details
-
flatMapping
-
ifPresentOrElse
-
toStream
-