@Test public void testObjectComparator() { try { oc = new ObjectComparator(null); fail(); } catch (IllegalArgumentException e) { assertTrue(true); } }
public ObjectComparator(SortCondition sortCondition) { if (sortCondition == null) { String msg = "Sort condition is null"; LOG.error(msg); throw new IllegalArgumentException(msg); } this.sortCondition = sortCondition; }
ObjectComparator implements Comparator<Object>, Serializable { public ObjectComparator(SortCondition sortCondition) { if (sortCondition == null) { String msg = "Sort condition is null"; LOG.error(msg); throw new IllegalArgumentException(msg); } this.sortCondition = sortCondition; } }
ObjectComparator implements Comparator<Object>, Serializable { public ObjectComparator(SortCondition sortCondition) { if (sortCondition == null) { String msg = "Sort condition is null"; LOG.error(msg); throw new IllegalArgumentException(msg); } this.sortCondition = sortCondition; } ObjectComparator(SortCondition sortCondition); }
ObjectComparator implements Comparator<Object>, Serializable { public ObjectComparator(SortCondition sortCondition) { if (sortCondition == null) { String msg = "Sort condition is null"; LOG.error(msg); throw new IllegalArgumentException(msg); } this.sortCondition = sortCondition; } ObjectComparator(SortCondition sortCondition); @Override int compare(Object first, Object second); }
ObjectComparator implements Comparator<Object>, Serializable { public ObjectComparator(SortCondition sortCondition) { if (sortCondition == null) { String msg = "Sort condition is null"; LOG.error(msg); throw new IllegalArgumentException(msg); } this.sortCondition = sortCondition; } ObjectComparator(SortCondition sortCondition); @Override int compare(Object first, Object second);  }