|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trackstudio.tools.PropertyComparator
public class PropertyComparator
Класс-компаратор для сравнения настроек
| Constructor Summary | |
|---|---|
PropertyComparator()
Конструктор |
|
| Method Summary | |
|---|---|
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)
Сравнивает два свойства |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public PropertyComparator()
| Method Detail |
|---|
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 - второе свойство
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||