public class ContentItemComparator extends AuditableComparator
ContentItem.| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRIBUTE_TRIAGE_RANK |
ATTRIBUTE_CREATED, ATTRIBUTE_MODIFIED| Constructor and Description |
|---|
ContentItemComparator() |
ContentItemComparator(boolean reverse) |
ContentItemComparator(boolean reverse,
int attribute) |
ContentItemComparator(int attribute) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ContentItem o1,
ContentItem o2) |
boolean |
equals(Object obj) |
int |
hashCode() |
static boolean |
supports(int attribute) |
compare, compareclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final int ATTRIBUTE_TRIAGE_RANK
public ContentItemComparator()
public ContentItemComparator(boolean reverse)
public ContentItemComparator(int attribute)
public ContentItemComparator(boolean reverse,
int attribute)
public int compare(ContentItem o1, ContentItem o2)
public boolean equals(Object obj)
equals in interface Comparator<AuditableObject>equals in class AuditableComparatorpublic int hashCode()
hashCode in class AuditableComparatorpublic static boolean supports(int attribute)
Copyright © 2012–2018 1&1. All rights reserved.