com.sun.jini.reggie
Class ClassMapper.FieldComparator

java.lang.Object
  extended by 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.


Constructor Summary
ClassMapper.FieldComparator()
           
 
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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ClassMapper.FieldComparator

public ClassMapper.FieldComparator()
Method Detail

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.