public static class SimpleFragment.FieldComparator extends Object implements Comparator<SimpleFragment>
SimpleFragment
s according to a field.Constructor and Description |
---|
SimpleFragment.FieldComparator(String key) |
Modifier and Type | Method and Description |
---|---|
int |
compare(SimpleFragment frag1,
SimpleFragment frag2) |
<T> int |
doCompare(SimpleFragment frag1,
SimpleFragment frag2) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public final String key
public SimpleFragment.FieldComparator(String key)
public int compare(SimpleFragment frag1, SimpleFragment frag2)
compare
in interface Comparator<SimpleFragment>
public <T> int doCompare(SimpleFragment frag1, SimpleFragment frag2)
Copyright © 2015 Nuxeo SA. All rights reserved.