目录

MapValue

Class Info

public class MapValue

映射值类。

Public Constructor Summary

Constructor Name

MapValue(int format, double doubleVar)

双精度浮点映射值的构造方法。

MapValue(int format, int intVar)

整型映射值的构造方法。

MapValue(int format, long longVar)

长整型映射值的构造方法。

MapValue(int format, String strVar)

字符串映射值的构造方法。

Public Method Summary

Qualifier and Type

Method Name and Description

final double

asDoubleValue()

返回双精度浮点映射值。

final int

asIntValue()

返回整型映射值。

final long

asLongValue()

返回长整型映射值。

final String

asStringValue()

返回字符串型映射值。

int

getFormat()

获取映射值类型。

Public Constructors

[h2]MapValue(int format, double doubleVar)

Constructor

public public MapValue(int format, double doubleVar)

双精度浮点映射值的构造方法。

[h2] MapValue(int format, int intVar)

Constructor

public MapValue(int format, int intVar)

整型映射值的构造方法。

[h2]MapValue(int format, long longVar)

Constructor

public MapValue(int format, long longVar)

long型映射值的构造方法。

[h2]MapValue(int format, String strVar)

Constructor

public MapValue(int format, String strVar)

字符串型映射值的构造方法。

Public Methods

[h2]asDoubleValue()

Method

public final double asDoubleValue()

返回双精度浮点映射值。

Returns

Type

Description

double

双精度浮点映射值。

[h2]asIntValue()

Method

public final int asIntValue()

返回整型映射值。

Returns

Type

Description

int

整型映射值。

[h2]asLongValue()

Method

public final long asLongValue()

返回long型映射值。

Returns

Type

Description

long

long型映射值。

[h2]asStringValue()

Method

public final String asStringValue()

返回字符串映射值。

Returns

Type

Description

String

返回字符串映射值。

Returns

Type

Description

long

long型映射值。

[h2]getFormat()

Method

public int getFormat()

获取映射值的格式。

Returns

Type

Description

int

映射值的格式。