public class Func extends Object
| Constructor and Description |
|---|
Func() |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
concat(List<T> l1,
List<T> l2)
Append the two lists.
|
static <T> boolean |
empty(Collection<T> l1) |
static <K,V> boolean |
empty(Map<K,V> m) |
static <K,V> Map<K,V> |
hashMap(K k,
V v) |
static <T> List<T> |
list(T... values) |
static Map<String,String> |
merge1(Map<String,String> l,
Map<String,String> r) |
static Map<String,List<String>> |
merge2(Map<String,List<String>> l,
Map<String,List<String>> r) |
public static final <T> List<T> concat(List<T> l1, List<T> l2)
l1 - the starting listl2 - the list to appendpublic static <T> boolean empty(Collection<T> l1)
public static <K,V> boolean empty(Map<K,V> m)
public static final Map<String,List<String>> merge2(Map<String,List<String>> l, Map<String,List<String>> r)
public static final <K,V> Map<K,V> hashMap(K k, V v)
public static final <T> List<T> list(T... values)
Copyright © 2016. All rights reserved.