@Immutable public class TestMeasure extends Object implements Measure
| Constructor and Description |
|---|
TestMeasure() |
| Modifier and Type | Method and Description |
|---|---|
static TestMeasure |
createMeasure(boolean booleanValue) |
static TestMeasure |
createMeasure(double doubleValue) |
static TestMeasure |
createMeasure(int intValue) |
static TestMeasure |
createMeasure(long longValue) |
static TestMeasure |
createMeasure(String stringValue) |
boolean |
getBooleanValue()
The value of this measure as a boolean.
|
double |
getDoubleValue()
The value of this measure as a double.
|
int |
getIntValue()
The value of this measure as a integer.
|
long |
getLongValue()
The value of this measure as a long.
|
String |
getStringValue()
The value of this measure as a string.
|
public TestMeasure()
public static TestMeasure createMeasure(double doubleValue)
public static TestMeasure createMeasure(int intValue)
public static TestMeasure createMeasure(long longValue)
public static TestMeasure createMeasure(String stringValue)
public static TestMeasure createMeasure(boolean booleanValue)
public int getIntValue()
MeasuregetIntValue in interface Measurepublic long getLongValue()
MeasuregetLongValue in interface Measurepublic double getDoubleValue()
MeasuregetDoubleValue in interface Measurepublic String getStringValue()
MeasuregetStringValue in interface Measurepublic boolean getBooleanValue()
MeasuregetBooleanValue in interface MeasureCopyright © 2009–2017 SonarSource. All rights reserved.