Package com.falkory.arcanumapi.util
Class StreamUtils
java.lang.Object
com.falkory.arcanumapi.util.StreamUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <X,Z> List<X> partialReduce(List<X> in, Function<? super X, ? extends Z> categorizer, BinaryOperator<X> merger) static <X extends net.minecraft.nbt.Tag,Z>
Stream<Z>streamAndApply(net.minecraft.nbt.ListTag list, Class<X> filterType, Function<X, Z> applicator) static <X> Stream<X>
-
Constructor Details
-
StreamUtils
public StreamUtils()
-
-
Method Details
-
streamAndApply
-
partialReduce
public static <X,Z> List<X> partialReduce(List<X> in, Function<? super X, ? extends Z> categorizer, BinaryOperator<X> merger) -
toStream
-