org.codehaus.groovy.grails.plugins
Class VersionComparator
java.lang.Object
org.codehaus.groovy.grails.plugins.VersionComparator
- All Implemented Interfaces:
- groovy.lang.GroovyObject, Comparator
public class VersionComparator
- extends Object
- implements Comparator, groovy.lang.GroovyObject
VersionComparator
public VersionComparator()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Comparator
- Overrides:
equals
in class Object
$getStaticMetaClass
protected groovy.lang.MetaClass $getStaticMetaClass()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
Copyright (c) 2005-2009 The Grails project