public final class Lists extends Object
Modifier and Type | Method and Description |
---|---|
static <Q> boolean |
contains(List<Q> stack,
Q element) |
static <Q> List<Q> |
deepCopy(List<Q> list) |
static <Q> List<Q> |
deepCopy(List<Q> list,
List<Q> empty) |
static <Q> List<Q> |
intersection(List<Q> source,
List<Q> target) |
static boolean |
nullOrEmpty(List collection) |
static <Q> List<Q> |
union(List<Q> source,
List<Q> target,
List<Q> stack) |
public static <Q> List<Q> deepCopy(List<Q> list) throws IOException, ClassNotFoundException
Q
- list
- IOException
ClassNotFoundException
public static <Q> List<Q> deepCopy(List<Q> list, List<Q> empty) throws IOException, ClassNotFoundException
Q
- list
- empty
- IOException
ClassNotFoundException
public static <Q> List<Q> intersection(List<Q> source, List<Q> target)
Q
- source
- target
- public static <Q> List<Q> union(List<Q> source, List<Q> target, List<Q> stack)
Q
- source
- target
- stack
- public static <Q> boolean contains(List<Q> stack, Q element)
Q
- stack
- element
- public static boolean nullOrEmpty(List collection)
collection
- Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.