public class OComparatorFactory extends Object
Comparable
but logically can be
compared.Modifier and Type | Field and Description |
---|---|
static OComparatorFactory |
INSTANCE |
Constructor and Description |
---|
OComparatorFactory() |
Modifier and Type | Method and Description |
---|---|
<T> Comparator<T> |
getComparator(Class<T> clazz)
Returns
Comparator instance if applicable one exist or null otherwise. |
public static final OComparatorFactory INSTANCE
public <T> Comparator<T> getComparator(Class<T> clazz)
Comparator
instance if applicable one exist or null
otherwise.T
- Class of object that is going to be compared.clazz
- Class of object that is going to be compared.Comparator
instance if applicable one exist or null
otherwise.Copyright © 2009–2020 OrientDB. All rights reserved.