public class SystemMetadataDateModifiedComparator extends Object implements Comparator<SystemMetadata>
| Constructor and Description |
|---|
SystemMetadataDateModifiedComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(SystemMetadata sysmeta1,
SystemMetadata sysmeta2)
Compares the order based on the modified date of the two SystemMetadata objects.
|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this comparator.
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic SystemMetadataDateModifiedComparator()
public int compare(SystemMetadata sysmeta1, SystemMetadata sysmeta2) throws ClassCastException, NullPointerException
compare in interface Comparator<SystemMetadata>sysmeta1 - sysmeta2 - ClassCastExceptionNullPointerExceptionpublic boolean equals(Object obj)
equals in interface Comparator<SystemMetadata>equals in class Objectobj - ClassCastExceptionCopyright © 2018. All Rights Reserved.