public class CountryComparator extends AbstractComparator<CountryData>
CountryData instances.| Modifier and Type | Field and Description |
|---|---|
static CountryComparator |
INSTANCE |
AFTER, BEFORE, EQUAL| Modifier and Type | Method and Description |
|---|---|
protected int |
compareInstances(CountryData country1,
CountryData country2)
Implement method to perform the comparison.
|
compare, compareValues, compareValues, compareValues, compareValues, compareValues, instanceEqualspublic static final CountryComparator INSTANCE
protected int compareInstances(CountryData country1, CountryData country2)
AbstractComparatorcompareInstances in class AbstractComparator<CountryData>country1 - first instancecountry2 - second instanceAbstractComparator.BEFORE, AbstractComparator.EQUAL, or AbstractComparator.AFTER.Copyright © 2018 SAP SE. All Rights Reserved.