Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.content.virtual.sort
Class VersionComparator

    java.lang.Object
      com.bea.content.virtual.sort.VersionComparator

All Implemented Interfaces
  Serializable, Comparator

    public class VersionComparator

extends Object
implements Comparator, Serializable

Compares Version in ascending order based on the Node name. The compare is case-insensitive.

See Also
  Serialized Form

Constructor Summary
`VersionComparator()`

Method Summary
`int` | `compare(Object obj1, Object obj2)`
`boolean` | `equals(Object obj)`
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### VersionComparator

    public VersionComparator()

Method Detail

### compare

    public int compare(Object obj1,
                       Object obj2)

  Specified by:
    `compare` in interface `Comparator`

### equals

    public boolean equals(Object obj)

  Specified by:
    `equals` in interface `Comparator`
  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

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

Copyright © 2008 BEA Systems, Inc. All Rights Reserved