public class CollectionsEmptyListSerializer extends com.esotericsoftware.kryo.serialize.SimpleSerializer<List<?>>
Serializer for Lists created via Collections.emptyList()
or that were just assigned the Collections.EMPTY_LIST.| Constructor and Description |
|---|
CollectionsEmptyListSerializer() |
| Modifier and Type | Method and Description |
|---|---|
List<?> |
read(ByteBuffer buffer) |
void |
write(ByteBuffer buffer,
List<?> emptyList) |
readObjectData, writeObjectDatapublic List<?> read(ByteBuffer buffer)
read in class com.esotericsoftware.kryo.serialize.SimpleSerializer<List<?>>public void write(ByteBuffer buffer, List<?> emptyList)
write in class com.esotericsoftware.kryo.serialize.SimpleSerializer<List<?>>Copyright © 2010-2012. All Rights Reserved.