public interface Utils
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
append(List<T> ts,
T t) |
static <T> List<T> |
asList(T[] ts) |
static <T> List<T> |
concat(List<T> t1,
List<T> t2) |
static String |
firstPart(String s,
String sep,
String def) |
static <Acc,V> Acc |
foldLeft(List<V> vs,
Acc acc,
IBiFunctionWithException<Acc,V,Acc> fn) |
static <T> List<T> |
insert(List<T> ts,
T t) |
static String |
lastPart(String s,
String sep,
String def) |
static String |
lastSegment(String s) |
static <T,T1> List<T1> |
map(List<T> ts,
IFunctionWithException<T,T1> fn) |
static <T> List<T> asList(T[] ts)
static <T,T1> List<T1> map(List<T> ts, IFunctionWithException<T,T1> fn) throws IOException
IOExceptionstatic <Acc,V> Acc foldLeft(List<V> vs, Acc acc, IBiFunctionWithException<Acc,V,Acc> fn) throws IOException
IOExceptionCopyright © 2023. All rights reserved.