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
VersionComparator
public VersionComparator()
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
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.