public class MutationUtility extends Object
| Constructor and Description |
|---|
MutationUtility() |
| Modifier and Type | Method and Description |
|---|---|
static <T,U> U[] |
toArray(List<T> list,
Class<U> outType,
Mutation<? super T,U> mutation) |
static <T,U> U[] |
toArray(T[] array,
Class<U> outType,
Mutation<? super T,U> mutation) |
static <T,U> List<U> |
toList(List<T> list,
Mutation<? super T,U> mutation) |
static <T,U> List<U> |
toList(T[] array,
Mutation<? super T,U> mutation) |
public static <T,U> U[] toArray(T[] array,
Class<U> outType,
Mutation<? super T,U> mutation)
throws Exception
Exceptionpublic static <T,U> U[] toArray(List<T> list, Class<U> outType, Mutation<? super T,U> mutation) throws Exception
Exceptionpublic static <T,U> List<U> toList(T[] array, Mutation<? super T,U> mutation) throws Exception
ExceptionCopyright © 2019. All rights reserved.