com.sun.jini.reggie
Class ClassMapper.FieldComparator
java.lang.Object
com.sun.jini.reggie.ClassMapper.FieldComparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- ClassMapper
private static class ClassMapper.FieldComparator
- extends Object
- implements Comparator
Comparator for sorting fields.
Method Summary |
int |
compare(Object o1,
Object o2)
Super before subclass, alphabetical within a given class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassMapper.FieldComparator
public ClassMapper.FieldComparator()
compare
public int compare(Object o1,
Object o2)
- Super before subclass, alphabetical within a given class
- Specified by:
compare
in interface Comparator
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.