Package io.trino.util
Class MoreLists
java.lang.Object
io.trino.util.MoreLists
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T> filteredCopy(Iterable<T> elements, Predicate<T> predicate) listOfListsCopy(List<List<T>> lists) static <T,R> List <R> mappedCopy(Iterable<T> elements, Function<T, R> mapper) static <T> List<T> nElements(int n, IntFunction<T> function)
-
Method Details
-
listOfListsCopy
-
filteredCopy
-
mappedCopy
-
nElements
-