|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.util.formallang.NfaUtil.MappedComparator<S,COMPARABLE>
public static class NfaUtil.MappedComparator<S,COMPARABLE extends java.lang.Comparable<COMPARABLE>>
Field Summary | |
---|---|
protected java.util.Map<S,COMPARABLE> |
sortBy
|
Constructor Summary | |
---|---|
NfaUtil.MappedComparator(java.util.Map<S,COMPARABLE> sortBy)
|
Method Summary | |
---|---|
int |
compare(S o1,
S o2)
|
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 |
Field Detail |
---|
protected final java.util.Map<S,COMPARABLE extends java.lang.Comparable<COMPARABLE>> sortBy
Constructor Detail |
---|
public NfaUtil.MappedComparator(java.util.Map<S,COMPARABLE> sortBy)
Method Detail |
---|
public int compare(S o1, S o2)
compare
in interface java.util.Comparator<S>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |