public class TypeArray extends Object implements BreezeType<List<?>>
| 限定符和类型 | 方法和说明 |
|---|---|
byte |
getType() |
List<?> |
read(BreezeBuffer buffer,
boolean withType) |
<T> void |
readBySize(BreezeBuffer buffer,
Collection<T> collection,
Type vType,
int size) |
void |
write(BreezeBuffer buffer,
List<?> value,
boolean withType) |
void |
writeArray(BreezeBuffer buffer,
Object[] value,
boolean withType) |
void |
writeCollection(BreezeBuffer buffer,
Collection<?> value,
boolean withType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitputType, read, write, writeMessageField, writeMessageFieldpublic TypeArray()
public TypeArray(Type type) throws BreezeException
BreezeExceptionpublic byte getType()
getType 在接口中 BreezeType<List<?>>public List<?> read(BreezeBuffer buffer, boolean withType) throws BreezeException
read 在接口中 BreezeType<List<?>>BreezeExceptionpublic <T> void readBySize(BreezeBuffer buffer, Collection<T> collection, Type vType, int size) throws BreezeException
BreezeExceptionpublic void write(BreezeBuffer buffer, List<?> value, boolean withType) throws BreezeException
write 在接口中 BreezeType<List<?>>BreezeExceptionpublic void writeCollection(BreezeBuffer buffer, Collection<?> value, boolean withType) throws BreezeException
BreezeExceptionpublic void writeArray(BreezeBuffer buffer, Object[] value, boolean withType) throws BreezeException
BreezeExceptionCopyright © 2019. All rights reserved.