Package org.gmetrics.metric.coverage
Class Ratio
java.lang.Object
org.gmetrics.metric.coverage.Ratio
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
groovy.lang.MetaClass
final int
getProperty
(String property) invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value) toBigDecimal
(int scale, int roundingMode) toString()
-
Field Details
-
ZERO
-
-
Constructor Details
-
Ratio
public Ratio(int numerator, int denominator)
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getNumerator
public final int getNumerator() -
getDenominator
public final int getDenominator() -
plus
-
toBigDecimal
-
asType
-
toString
-