public class Collections extends Object
| Constructor and Description |
|---|
Collections() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> Optional<R> |
first(Iterable<T> iterable,
java.util.function.Function<T,R> mapFn) |
static <T> T |
last(Iterable<T> iterable) |
public static <T,R> Optional<R> first(Iterable<T> iterable, java.util.function.Function<T,R> mapFn)
public static <T> T last(Iterable<T> iterable)
Copyright © 2025 Suncode. All rights reserved.