public class Value extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Value.ValueType |
static class |
Value.ValueTypeException |
| 构造器和说明 |
|---|
Value(String str,
Value.ValueType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getInternal() |
Value.ValueType |
getValueType() |
void |
setValue(String str,
Value.ValueType type) |
boolean |
toBoolean() |
byte |
toByte() |
double |
toDouble() |
float |
toFloat() |
int |
toInt() |
long |
toLong() |
short |
toShort() |
String |
toString() |
public Value(String str, Value.ValueType type)
public void setValue(String str, Value.ValueType type)
public String getInternal()
public Value.ValueType getValueType()
public boolean toBoolean()
throws Value.ValueTypeException
public byte toByte()
throws Value.ValueTypeException
public short toShort()
throws Value.ValueTypeException
public int toInt()
throws Value.ValueTypeException
public long toLong()
throws Value.ValueTypeException
public float toFloat()
throws Value.ValueTypeException
public double toDouble()
throws Value.ValueTypeException
Copyright © 2016. All rights reserved.