public final class CollectionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
filterCommonStart(List<T> list1,
List<T> list2)
Returns all entries that are the same at the beginning of both given lists.
|
static <T> List<T> |
getRange(List<T> list,
int start)
Gets all elements from a list starting from the given index.
|
public static <T> List<T> getRange(List<T> list, int start)
T - the list typelist - the Liststart - the start indexstart and on; empty list
if the start index exceeds the list's sizepublic static <T> List<T> filterCommonStart(List<T> list1, List<T> list2)
T - type of the listslist1 - first listlist2 - second listCopyright © 2016–2018 The AuthMe Team. All rights reserved.