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.
|
public SystemMetadataDateModifiedComparator()
public int compare(SystemMetadata sysmeta1, SystemMetadata sysmeta2) throws ClassCastException, NullPointerException
compare
in interface Comparator<SystemMetadata>
sysmeta1
- sysmeta2
- ClassCastException
NullPointerException
public boolean equals(Object obj)
equals
in interface Comparator<SystemMetadata>
equals
in class Object
obj
- ClassCastException
Copyright © 2016. All Rights Reserved.