Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api
[Java] Class Namer.Comparator

    java.lang.Object
      org.gradle.api.Namer.Comparator

All Implemented Interfaces:
  java.util.Comparator

    public static class Namer.Comparator

A comparator implementation based on the names returned by the given namer.

Constructor Summary
`Namer.Comparator(Namer namer)`

Method Summary
`int` | `compare(java.lang.Object o1, java.lang.Object o2)`
`boolean` | `equals(java.lang.Object obj)`
`int` | `hashCode()`

Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Constructor Detail

### Namer.Comparator

    public Namer.Comparator(Namer namer)

Method Detail

### compare

    public int compare(java.lang.Object o1, java.lang.Object o2)

### equals

    public boolean equals(java.lang.Object obj)

### hashCode

    public int hashCode()

Groovy Documentation