Class Info |
|---|
public class MapValue 映射值类。 |
Qualifier and Type | Method Name and Description |
|---|---|
final double | 返回双精度浮点映射值。 |
final int | 返回整型映射值。 |
final long | 返回长整型映射值。 |
final String | 返回字符串型映射值。 |
int | 获取映射值类型。 |
Constructor |
|---|
public public MapValue(int format, double doubleVar) 双精度浮点映射值的构造方法。 |
Constructor |
|---|
public MapValue(int format, int intVar) 整型映射值的构造方法。 |
Constructor |
|---|
public MapValue(int format, long longVar) long型映射值的构造方法。 |
Constructor |
|---|
public MapValue(int format, String strVar) 字符串型映射值的构造方法。 |
Method |
|---|
public final double asDoubleValue() 返回双精度浮点映射值。 |
Returns
Type | Description |
|---|---|
double | 双精度浮点映射值。 |
Method |
|---|
public final long asLongValue() 返回long型映射值。 |
Returns
Type | Description |
|---|---|
long | long型映射值。 |
Method |
|---|
public final String asStringValue() 返回字符串映射值。 |
Returns
Type | Description |
|---|---|
String | 返回字符串映射值。 |
Returns
Type | Description |
|---|---|
long | long型映射值。 |