|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFeatureComparators
public final class FeatureComparators
A utility class for creating simple Comparators for Features.
modules/library/main (gt-main.jar)
Nested Class Summary | |
---|---|
static class |
FeatureComparators.Index
A Comparator which performs the comparison on attributes at a given index. |
static class |
FeatureComparators.Name
A Comparator which performs the comparison on attributes with a given name. |
Field Summary | |
---|---|
static Comparator |
BY_ID
A utility comparator for comparison by id. |
Method Summary | |
---|---|
static Comparator |
byAttributeIndex(int idx)
Create a Comparator which compares Features by the attribute at the given index. |
static Comparator |
byAttributeName(String name)
Create a Comparator which compares Features by the attribute found at the given path. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Comparator BY_ID
Method Detail |
---|
public static Comparator byAttributeIndex(int idx)
idx
- The index to look up attributes at.
public static Comparator byAttributeName(String name)
name
- The xpath to use while comparing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |