View Javadoc
1   package org.kuali.common.util.bind.test;
2   
3   import java.lang.reflect.Field;
4   import java.util.Comparator;
5   
6   public final class FieldNameComparator implements Comparator<Field> {
7   
8   	public static final FieldNameComparator INSTANCE = new FieldNameComparator();
9   
10  	@Override
11  	public int compare(Field one, Field two) {
12  		return one.getName().compareTo(two.getName());
13  	}
14  
15  }