public static class JsonUtilsTest.Data extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
intValue |
private String |
stringValue |
| Modifier | Constructor and Description |
|---|---|
private |
Data()
Creates a data object (for JSON).
|
private |
Data(int intValue,
String stringValue)
Creates a data object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIntValue()
Returns the int value.
|
String |
getStringValue()
Returns the String value.
|
(package private) void |
setIntValue(int intValue)
Defines the int value.
|
(package private) void |
setStringValue(String stringValue)
Defines the string value.
|
private int intValue
private String stringValue
private Data()
private Data(int intValue,
String stringValue)
intValue - the int valuestringValue - the string valuepublic int getIntValue()
void setIntValue(int intValue)
intValue - the int valuepublic String getStringValue()
void setStringValue(String stringValue)
stringValue - the string valueCopyright © 2021. All rights reserved.