public class ListComparator extends Object
Constructor and Description |
---|
ListComparator() |
Modifier and Type | Method and Description |
---|---|
static List[] |
compare(Object[] a1,
Object[] a2) |
static List[] |
compare(Object[] a1,
Object[] a2,
Comparator c) |
static List |
getAdded(Object[] a1,
Object[] a2) |
static List |
getAdded(Object[] a1,
Object[] a2,
Comparator c) |
static Comparator |
getDefaultComparator() |
static boolean |
haveMatches(Object[] a1,
Object[] a2) |
static boolean |
haveMatches(Object[] a1,
Object[] a2,
Comparator c) |
static int |
indexOf(Object o,
Object[] a) |
static int |
indexOf(Object o,
Object[] a,
Comparator c) |
static boolean |
match(Object[] a1,
Object[] a2,
Comparator c) |
public static Comparator getDefaultComparator()
public static List[] compare(Object[] a1, Object[] a2, Comparator c)
public static List getAdded(Object[] a1, Object[] a2, Comparator c)
public static boolean match(Object[] a1, Object[] a2, Comparator c)
public static int indexOf(Object o, Object[] a, Comparator c)
public static boolean haveMatches(Object[] a1, Object[] a2, Comparator c)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.