public class ModelDataType extends Object
| Modifier and Type | Field and Description |
|---|---|
private double |
doubleValue |
private int |
intValue |
private String |
stringValue |
| Constructor and Description |
|---|
ModelDataType(double doubleValue)
Creates an instance for a double value.
|
ModelDataType(int intValue)
Creates an instance for an int value.
|
ModelDataType(String stringValue)
Creates an instance for a String value.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDobuleValue()
Returns the double value.
|
int |
getIntValue()
Returns the int value.
|
String |
getStringValue()
Returns the string value.
|
private int intValue
private double doubleValue
private String stringValue
public ModelDataType(int intValue)
intValue - the int valuepublic ModelDataType(double doubleValue)
doubleValue - the double valuepublic ModelDataType(String stringValue)
stringValue - the String valuepublic int getIntValue()
public double getDobuleValue()
public String getStringValue()
Copyright © 2022. All rights reserved.