@Immutable
public class PropertyComparator
extends java.lang.Object
implements java.util.Comparator
| Constructor and Description |
|---|
PropertyComparator()
Конструктор
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Сравнивает два свойства
|
static int |
compare(PropertyContainer a,
PropertyContainer b)
Сравнивает два свойства
|
static int |
compareIgnoreCase(PropertyContainer a,
PropertyContainer b)
Сравнивает два свойства
|
static int |
compareIgnoreCase(PropertyContainer a,
PropertyContainer b,
int limit)
Сравнивает два свойства без учета регистра
|
protected static int |
compareProperties(PropertyContainer a,
PropertyContainer b)
Сравнивает два свойства
|
protected static int |
comparePropertiesIgnoreCase(PropertyContainer a,
PropertyContainer b)
Сравнивает два свойства без учета регистра
|
protected static int |
comparePropertiesIgnoreCase(PropertyContainer a,
PropertyContainer b,
int limit)
Сравнивает два свойства без учета регистра
|
static boolean |
isEquals(PropertyContainer a,
PropertyContainer b)
Сравнивает два свойства
|
protected static int compareProperties(PropertyContainer a, PropertyContainer b)
a - одно свойстваb - второе свойствоprotected static int comparePropertiesIgnoreCase(PropertyContainer a, PropertyContainer b)
a - одно свойстваb - второе свойствоprotected static int comparePropertiesIgnoreCase(PropertyContainer a, PropertyContainer b, int limit)
a - одно свойстваb - второе свойствоlimit - пределpublic static int compare(PropertyContainer a, PropertyContainer b)
a - одно свойстваb - второе свойствоpublic static int compareIgnoreCase(PropertyContainer a, PropertyContainer b)
a - одно свойстваb - второе свойствоpublic static int compareIgnoreCase(PropertyContainer a, PropertyContainer b, int limit)
a - одно свойстваb - второе свойствоlimit - пределpublic static boolean isEquals(PropertyContainer a, PropertyContainer b)
a - одно свойстваb - второе свойствоpublic int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatoro1 - одно свойстваo2 - второе свойствоCopyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.