EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.util
Class ReflectionKit.FieldClassComparator

java.lang.Object
  extended by echopoint.util.ReflectionKit.MemberClassComparator
      extended by echopoint.util.ReflectionKit.FieldClassComparator
All Implemented Interfaces:
Comparator
Enclosing class:
ReflectionKit

public static class ReflectionKit.FieldClassComparator
extends ReflectionKit.MemberClassComparator

A Comparator that can be used when comparing and sorting Field objects by name, modifier and class order.

If the Field's names are the same they are sorted in declaring class order with the most specific class first.

In short it sorts in "Field / Declaring Class" order.


Constructor Summary
ReflectionKit.FieldClassComparator()
           
 
Method Summary
 
Methods inherited from class echopoint.util.ReflectionKit.MemberClassComparator
compare, compareByConstructor, compareByField, compareByMethod, compareByModifiers
 
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

ReflectionKit.FieldClassComparator

public ReflectionKit.FieldClassComparator()

EchoPoint API - 3.0.0b5
App Webcontainer