Additional top-level classes in compilation unit: ConcatView, ListConcatenation.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | |
| public static Tuple2 | commonPrefixSuffixLengths(List<?> l1, List<?> l2)
Returns the lengths of common prefix and common suffix of two lists. |
| public static int | |
| public static <E> List | |
| public static <E> List | |
| public static <E> List | |
| public static <E> List | |
| public static boolean | |
| public static <E> int | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static <E, F> List | |
| public static <E> Iterator | |
| public static String |
| Lists | back to summary |
|---|---|
| private Lists() | |
| checkIndex | back to summary |
|---|---|
| public static void checkIndex(int index, int size) | |
| checkIndex | back to summary |
|---|---|
| public static void checkIndex(int min, int index, int max) | |
| checkPosition | back to summary |
|---|---|
| public static void checkPosition(int position, int size) | |
| checkPosition | back to summary |
|---|---|
| public static void checkPosition(int min, int position, int max) | |
| checkRange | back to summary |
|---|---|
| public static void checkRange(int from, int to, int size) | |
| checkRange | back to summary |
|---|---|
| public static void checkRange(int min, int from, int to, int max) | |
| commonPrefixLength | back to summary |
|---|---|
| public static int commonPrefixLength(List<?> l, List<?> m) | |
| commonPrefixSuffixLengths | back to summary |
|---|---|
| public static Tuple2 Returns the lengths of common prefix and common suffix of two lists. The total of the two lengths returned is not greater than either of the list sizes. Prefix is prioritized: for lists [a, b, a, b], [a, b] returns (2, 0); although the two lists have a common suffix of length 2, the length of the second list is already included in the length of the common prefix. | |
| commonSuffixLength | back to summary |
|---|---|
| public static int commonSuffixLength(List<?> l, List<?> m) | |
| concat | back to summary |
|---|---|
public static <E> List
| |
| concat | back to summary |
|---|---|
| public static <E> List Returns a list that is a concatenation of the given lists. The returned
list is a view of the underlying lists, without copying the elements.
As opposed to | |
| concatView | back to summary |
|---|---|
public static <E> List
| |
| concatView | back to summary |
|---|---|
| public static <E> List Returns a list that is a concatenation of the given lists. The returned list is a view of the underlying lists, without copying the elements. The returned list is unmodifiable. Modifications to underlying lists will be visible through the concatenation view. | |
| equals | back to summary |
|---|---|
| public static boolean equals(List<?> list, Object o) | |
| hashCode | back to summary |
|---|---|
| public static <E> int hashCode(List<E> list) | |
| isNonEmptyRange | back to summary |
|---|---|
| public static boolean isNonEmptyRange(int from, int to, int size) | |
| isNonEmptyRange | back to summary |
|---|---|
| public static boolean isNonEmptyRange(int min, int from, int to, int max) | |
| isProperNonEmptyRange | back to summary |
|---|---|
| public static boolean isProperNonEmptyRange(int from, int to, int size) | |
| isProperNonEmptyRange | back to summary |
|---|---|
| public static boolean isProperNonEmptyRange(int min, int from, int to, int max) | |
| isProperRange | back to summary |
|---|---|
| public static boolean isProperRange(int from, int to, int size) | |
| isProperRange | back to summary |
|---|---|
| public static boolean isProperRange(int min, int from, int to, int max) | |
| isStrictlyInsideNonEmptyRange | back to summary |
|---|---|
| public static boolean isStrictlyInsideNonEmptyRange(int from, int to, int size) | |
| isStrictlyInsideNonEmptyRange | back to summary |
|---|---|
| public static boolean isStrictlyInsideNonEmptyRange(int min, int from, int to, int max) | |
| isStrictlyInsideRange | back to summary |
|---|---|
| public static boolean isStrictlyInsideRange(int from, int to, int size) | |
| isStrictlyInsideRange | back to summary |
|---|---|
| public static boolean isStrictlyInsideRange(int min, int from, int to, int max) | |
| isValidIndex | back to summary |
|---|---|
| public static boolean isValidIndex(int index, int size) | |
| isValidIndex | back to summary |
|---|---|
| public static boolean isValidIndex(int min, int index, int max) | |
| isValidPosition | back to summary |
|---|---|
| public static boolean isValidPosition(int position, int size) | |
| isValidPosition | back to summary |
|---|---|
| public static boolean isValidPosition(int min, int position, int max) | |
| isValidRange | back to summary |
|---|---|
| public static boolean isValidRange(int from, int to, int size) | |
| isValidRange | back to summary |
|---|---|
| public static boolean isValidRange(int min, int from, int to, int max) | |
| mappedView | back to summary |
|---|---|
| public static <E, F> List | |
| readOnlyIterator | back to summary |
|---|---|
| public static <E> Iterator | |
| toString | back to summary |
|---|---|
| public static String toString(List<?> list) | |