public class CatalogItemComparator<T,SpecT> extends java.lang.Object implements java.util.Comparator<CatalogItem<T,SpecT>>
Modifier and Type | Field and Description |
---|---|
static CatalogItemComparator<?,?> |
INSTANCE |
Constructor and Description |
---|
CatalogItemComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(CatalogItem<T,SpecT> o1,
CatalogItem<T,SpecT> o2) |
static <T,SpecT> CatalogItemComparator<T,SpecT> |
getInstance() |
public static final CatalogItemComparator<?,?> INSTANCE
public static <T,SpecT> CatalogItemComparator<T,SpecT> getInstance()
public int compare(CatalogItem<T,SpecT> o1, CatalogItem<T,SpecT> o2)
compare
in interface java.util.Comparator<CatalogItem<T,SpecT>>