Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.web.bindery.requestfactory.apt
Class TypeComparator

    java.lang.Object
      com.google.web.bindery.requestfactory.apt.TypeComparator

All Implemented Interfaces:
  java.util.Comparator<javax.lang.model.element.TypeElement>

     class TypeComparator

extends java.lang.Object
implements java.util.Comparator<javax.lang.model.element.TypeElement>

Orders TypeElements by assignability, with most-derived types ordered first, and then by name.

Constructor Summary
`TypeComparator(State state)`

Method Summary
`int` | `compare(javax.lang.model.element.TypeElement a, javax.lang.model.element.TypeElement b)`

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

### TypeComparator

    public TypeComparator(State state)

Method Detail

### compare

    public int compare(javax.lang.model.element.TypeElement a,
                       javax.lang.model.element.TypeElement b)

  Specified by:
    `compare` in interface `java.util.Comparator<javax.lang.model.element.TypeElement>`

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD