Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.appengine.tools.info
Class UpdateCheckResults.VersionComparator

    java.lang.Object
      com.google.appengine.tools.info.UpdateCheckResults.VersionComparator

All Implemented Interfaces:
  java.util.Comparator<java.lang.String>

Enclosing class:
  UpdateCheckResults

    public static class UpdateCheckResults.VersionComparator

extends java.lang.Object
implements java.util.Comparator<java.lang.String>

`VersionComparator` compares strings that represent dotted version numbers (e.g. "1.1.2"). These string are compared using the ordering laid out in the Specification Versioning section of the Java Production Versioning Guide.

Constructor Summary
`UpdateCheckResults.VersionComparator()`

Method Summary
`int` | `compare(java.lang.String string1, java.lang.String string2)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface java.util.Comparator
`equals`

Constructor Detail

### UpdateCheckResults.VersionComparator

    public UpdateCheckResults.VersionComparator()

Method Detail

### compare

    public int compare(java.lang.String string1,
                       java.lang.String string2)
                throws java.lang.NumberFormatException

  Specified by:
    `compare` in interface `java.util.Comparator<java.lang.String>`
  Throws:
    `java.lang.NumberFormatException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD