public class Item extends Object implements BytesBuildable
| 限定符和类型 | 方法和说明 |
|---|---|
Item |
addSubitem(Item subitem) |
Item |
addSubitem(Object subitemValue) |
byte[] |
bytesValue() |
java.time.LocalDateTime |
datetimeValue() |
double |
doubleValue() |
String |
formatFlatObjects() |
Item |
getSubitem(int key) |
Object |
getValue() |
int |
intValue() |
ItemType |
itemType() |
long |
longValue() |
Map<Long,Item> |
mapValue() |
Item |
setSubitem(int key,
Object newValue) |
Item |
setValue(Object value) |
int |
statementParam(CallableStatement statement,
int pos) |
String |
stringValue() |
void |
toBytes(BytesBuilder out) |
double |
toDouble()
数字操作:从内部定点小数转成浮点小数。
|
void |
toFlatObject(cn.gongler.util.protocol.itemtype.IteratorBuilder<Object> build) |
String |
toString() |
Timestamp |
toTimestamp() |
void |
unsafeSetValue(Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoBytestoHex, toHexMessagepublic ItemType itemType()
public Object getValue()
public void unsafeSetValue(Object value)
public long longValue()
public double doubleValue()
public int intValue()
public String stringValue()
public java.time.LocalDateTime datetimeValue()
public final Item getSubitem(int key)
key - keypublic byte[] bytesValue()
public void toBytes(BytesBuilder out)
toBytes 在接口中 BytesBuildableout - builderpublic void toFlatObject(cn.gongler.util.protocol.itemtype.IteratorBuilder<Object> build)
public final String formatFlatObjects()
public int statementParam(CallableStatement statement, int pos) throws SQLException
SQLExceptionpublic Timestamp toTimestamp()
public double toDouble()
Copyright © 2022. All rights reserved.