Enum Class的使用
com.baidu.bjf.remoting.protobuf.FieldType
使用FieldType的程序包
程序包
说明
-
com.baidu.bjf.remoting.protobuf中FieldType的使用
-
com.baidu.bjf.remoting.protobuf.code中FieldType的使用
修饰符和类型方法说明protected voidstatic intCodedConstant.computeListSize(int order, Collection<?> list, FieldType type, boolean debug, File path) Compute list size.static intCodedConstant.computeListSize(int order, Collection list, FieldType type, boolean debug, File path, boolean packed) Compute list size.static intCodedConstant.computeListSize(int order, Collection list, FieldType type, boolean debug, File path, boolean packed, boolean sizeOnly) Compute list size.static intCodedConstant.computeSize(int order, Object o, FieldType type, boolean list, boolean debug, File path) get object size byFieldType.static intCodedConstant.computeSize(int order, Object o, FieldType type, boolean debug, File path) get object size byFieldType.static StringCodedConstant.getFiledType(FieldType type, boolean isList) Gets the filed type.static StringCodedConstant.getMappedTypeDefined(int order, FieldType type, String express, boolean isList, boolean isMap) get mapped type defined java expression.static StringCodedConstant.getMappedTypeSize(FieldInfo field, int order, FieldType type, boolean isList, boolean isMap, boolean debug, File path) Gets the mapped type size.static StringCodedConstant.getMappedWriteCode(FieldInfo field, String prefix, int order, FieldType type, boolean isList, boolean isMap) get mapped object byte write java expression.static StringCodedConstant.getWriteValueToField(FieldType type, String express, boolean isList) Gets the write value to field.static voidCodedConstant.writeObject(com.google.protobuf.CodedOutputStream out, int order, FieldType type, Object o, boolean list) Write object.static voidCodedConstant.writeObject(com.google.protobuf.CodedOutputStream out, int order, FieldType type, Object o, boolean list, boolean withTag) Write object to byte array byFieldType.static voidCodedConstant.writeToList(com.google.protobuf.CodedOutputStream out, int order, FieldType type, Collection list) Write to list.static voidCodedConstant.writeToList(com.google.protobuf.CodedOutputStream out, int order, FieldType type, Collection list, boolean packed) write list toCodedOutputStreamobject. -
com.baidu.bjf.remoting.protobuf.utils中FieldType的使用
类型参数类型为FieldType的com.baidu.bjf.remoting.protobuf.utils中的字段