Griffon 1.2.0

org.codehaus.griffon.artifacts
[Groovy] Class VersionComparator

java.lang.Object
  org.codehaus.griffon.artifacts.VersionComparator
All Implemented Interfaces:
Comparator

class VersionComparator

Authors:
Andres Almiray
Since:
0.9.5


Field Summary
private boolean reverse

 
Constructor Summary
VersionComparator(boolean reverse = false)

 
Method Summary
int compare(def o1, def o2)

boolean equals(def obj)

int hashCode()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

reverse

private final boolean reverse


 
Constructor Detail

VersionComparator

VersionComparator(boolean reverse = false)


 
Method Detail

compare

int compare(def o1, def o2)


equals

boolean equals(def obj)


hashCode

int hashCode()


 

Groovy Documentation