org.stjs.generator.utils
Class Lists
java.lang.Object
org.stjs.generator.utils.Lists
public final class Lists
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getOnlyElement
public static <T> T getOnlyElement(Iterable<T> elems)
union
public static <T> List<T> union(List<T> list1,
List<T> list2)
append
public static <T> List<T> append(List<T> coll,
T appendee)
isNullOrEmpty
public static <T> boolean isNullOrEmpty(Collection<T> list)
Copyright © 2014. All Rights Reserved.