public static class DefaultSerializers.TreeSetSerializer extends CollectionSerializer
Constructor and Description |
---|
DefaultSerializers.TreeSetSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
write(Kryo kryo,
Output output,
java.util.Collection collection)
Writes the bytes for the object to the output.
|
copy, read, setElementClass, setElementsCanBeNull, setGenerics
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
public DefaultSerializers.TreeSetSerializer()
public void write(Kryo kryo, Output output, java.util.Collection collection)
Serializer
This method should not be called directly, instead this serializer can be passed to Kryo
write methods that accept a
serialier.
write
in class CollectionSerializer
collection
- May be null if Serializer.getAcceptsNull()
is true.