public class GosuCollectionUtil extends Object
| Constructor and Description |
|---|
GosuCollectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <S,T> Map<S,T> |
compactAndLockHashMap(HashMap<S,T> map)
Returns a compacted and locked map representing the map passed in.
|
static <T> List<T> |
compactAndLockList(List<T> list)
Returns a compacted and locked list representing the list passed in.
|
static boolean |
startsWith(List<?> list,
List<?> prefix)
String.startsWith(String) for Lists. |
public static <S,T> Map<S,T> compactAndLockHashMap(HashMap<S,T> map)
public static <T> List<T> compactAndLockList(List<T> list)
public static boolean startsWith(List<?> list, List<?> prefix)
String.startsWith(String) for Lists.Copyright © 2018. All rights reserved.