public final class GroupKey extends Object implements Comparable<GroupKey>
Modifier and Type | Field and Description |
---|---|
static String |
JAVA_GROUP
Java group is handled a bit special: is always first to be scanned.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GroupKey o)
Compares by group then by order, with special case of
JAVA_GROUP group:
First, group is considered, if equals to JAVA_GROUP , is always first, other
groups are in natural order (string)
within same named groups, order is defined by order
|
boolean |
equals(Object o) |
String |
getGroup()
Returns the group this key belongs to, never
null . |
int |
getOrder()
Returns the order within same group of this key.
|
int |
hashCode() |
String |
toString() |
public static final String JAVA_GROUP
public int getOrder()
public int compareTo(GroupKey o)
JAVA_GROUP
group:
group
is considered, if equals to JAVA_GROUP
, is always first, other
groups are in natural order (string)order
compareTo
in interface Comparable<GroupKey>
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.