public class MoreLists extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
filteredCopy(List<T> elements,
Predicate<T> predicate) |
static <T> List<List<T>> |
listOfListsCopy(List<List<T>> lists) |
static <T,R> List<R> |
mappedCopy(List<T> elements,
Function<T,R> mapper) |
static <T> List<T> |
nElements(int n,
IntFunction<T> function) |
public static <T> List<T> nElements(int n, IntFunction<T> function)
Copyright © 2012–2019. All rights reserved.