@Immutable public class FqnComparator extends Object implements Comparator<Fqn>, Serializable
aaa/bbb xxx xxx/ccc
Modifier and Type | Field and Description |
---|---|
static FqnComparator |
INSTANCE |
Constructor and Description |
---|
FqnComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Fqn fqn1,
Fqn fqn2)
Returns -1 if the first comes before; 0 if they are the same; 1 if the second Fqn comes before.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final FqnComparator INSTANCE
public int compare(Fqn fqn1, Fqn fqn2)
null
always comes first.compare
in interface Comparator<Fqn>
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.