- java.lang.Object
-
- org.redkale.convert.SimpledCoder<ProtobufReader,ProtobufWriter,Collection<Short>>
-
- org.redkale.convert.pb.ProtobufCoders.ProtobufShortCollectionSimpledCoder
-
- 所有已实现的接口:
Decodeable<ProtobufReader,Collection<Short>>
,Encodeable<ProtobufWriter,Collection<Short>>
,ProtobufEncodeable<ProtobufWriter,Collection<Short>>
- 封闭类:
- ProtobufCoders
public static class ProtobufCoders.ProtobufShortCollectionSimpledCoder extends SimpledCoder<ProtobufReader,ProtobufWriter,Collection<Short>> implements ProtobufEncodeable<ProtobufWriter,Collection<Short>>
-
-
字段概要
-
从类继承的字段 org.redkale.convert.SimpledCoder
type
-
-
构造器概要
构造器 构造器 说明 ProtobufShortCollectionSimpledCoder(Creator<? extends Collection> creator)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
computeSize(ProtobufWriter out, int tagSize, Collection<Short> value)
Collection<Short>
convertFrom(ProtobufReader in)
反序列化操作void
convertTo(ProtobufWriter out, Collection<Short> values)
序列化操作-
从类继承的方法 org.redkale.convert.SimpledCoder
getType, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.redkale.convert.Encodeable
getType, specifyable
-
从接口继承的方法 org.redkale.convert.pb.ProtobufEncodeable
convertTo
-
-
-
-
构造器详细资料
-
ProtobufShortCollectionSimpledCoder
public ProtobufShortCollectionSimpledCoder(Creator<? extends Collection> creator)
-
-
方法详细资料
-
convertTo
public void convertTo(ProtobufWriter out, Collection<Short> values)
从接口复制的说明:Encodeable
序列化操作- 指定者:
convertTo
在接口中Encodeable<ProtobufWriter,Collection<Short>>
- 指定者:
convertTo
在类中SimpledCoder<ProtobufReader,ProtobufWriter,Collection<Short>>
- 参数:
out
- Writervalues
- 对象
-
convertFrom
public Collection<Short> convertFrom(ProtobufReader in)
从接口复制的说明:Decodeable
反序列化操作- 指定者:
convertFrom
在接口中Decodeable<ProtobufReader,Collection<Short>>
- 指定者:
convertFrom
在类中SimpledCoder<ProtobufReader,ProtobufWriter,Collection<Short>>
- 参数:
in
- R- 返回:
- T
-
computeSize
public int computeSize(ProtobufWriter out, int tagSize, Collection<Short> value)
- 指定者:
computeSize
在接口中ProtobufEncodeable<ProtobufWriter,Collection<Short>>
-
-