- java.lang.Object
-
- org.redkale.convert.CollectionEncoder<ProtobufWriter,T>
-
- org.redkale.convert.pb.ProtobufCollectionEncoder<T>
-
- 类型参数:
T
- T
- 所有已实现的接口:
Encodeable<ProtobufWriter,Collection<T>>
,ProtobufEncodeable<ProtobufWriter,Collection<T>>
public class ProtobufCollectionEncoder<T> extends CollectionEncoder<ProtobufWriter,T> implements ProtobufEncodeable<ProtobufWriter,Collection<T>>
- 作者:
- zhangjx
-
-
字段概要
字段 修饰符和类型 字段 说明 protected boolean
componentPrimitived
protected boolean
componentSimpled
-
从类继承的字段 org.redkale.convert.CollectionEncoder
componentEncoder, inited, type
-
-
构造器概要
构造器 构造器 说明 ProtobufCollectionEncoder(ConvertFactory factory, Type type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
computeSize(ProtobufWriter out, int tagSize, Collection<T> value)
protected void
convertObjectTo(ProtobufWriter out, EnMember member, Collection<T> value)
protected void
convertPrimitivedTo(ProtobufWriter out, EnMember member, Collection<T> value)
void
convertTo(ProtobufWriter out, EnMember member, Collection<T> value)
-
从类继承的方法 org.redkale.convert.CollectionEncoder
checkInited, convertTo, getComponentEncoder, getComponentType, getType, specifyable, toString
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.redkale.convert.Encodeable
convertTo, getType, specifyable
-
-
-
-
构造器详细资料
-
ProtobufCollectionEncoder
public ProtobufCollectionEncoder(ConvertFactory factory, Type type)
-
-
方法详细资料
-
convertTo
public void convertTo(ProtobufWriter out, @Nonnull EnMember member, Collection<T> value)
- 指定者:
convertTo
在接口中ProtobufEncodeable<ProtobufWriter,Collection<T>>
- 覆盖:
convertTo
在类中CollectionEncoder<ProtobufWriter,T>
-
convertObjectTo
protected void convertObjectTo(ProtobufWriter out, @Nonnull EnMember member, Collection<T> value)
-
convertPrimitivedTo
protected void convertPrimitivedTo(ProtobufWriter out, @Nonnull EnMember member, Collection<T> value)
-
computeSize
public int computeSize(ProtobufWriter out, int tagSize, Collection<T> value)
- 指定者:
computeSize
在接口中ProtobufEncodeable<ProtobufWriter,Collection<T>>
-
-