T
- Object typepublic class FastUtilSerializer<T>
extends com.esotericsoftware.kryo.Serializer<T>
Constructor and Description |
---|
FastUtilSerializer(com.esotericsoftware.kryo.Kryo kryo,
Class<T> type)
Creates and initializes new serializer for a given fastutil class.
|
Modifier and Type | Method and Description |
---|---|
T |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<T> type) |
static void |
register(com.esotericsoftware.kryo.Kryo kryo,
Class<?> fastutilClass)
Register serializer for a given fastutil class.
|
static void |
registerAll(com.esotericsoftware.kryo.Kryo kryo)
Registers serializers for all possible fastutil classes.
|
static void |
registerArrayBigList(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil ArrayBigLists.
|
static void |
registerArrayLists(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil ArrayLists.
|
static void |
registerArraySets(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil ArraySets.
|
static void |
registerAVLTreeMaps(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil AVLTreeMaps.
|
static void |
registerAVLTreeSets(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil AVLTreeSets.
|
static void |
registerOpenHashMaps(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil OpenHashMaps.
|
static void |
registerOpenHashSets(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil OpenHashSets.
|
static void |
registerRBTreeMaps(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil RBTreeMaps.
|
static void |
registerRBTreeSets(com.esotericsoftware.kryo.Kryo kryo)
Register all Fastutil RBTreeSets.
|
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
T object) |
public static void register(com.esotericsoftware.kryo.Kryo kryo, Class<?> fastutilClass)
kryo
- Kryo instancefastutilClass
- Fastutil classpublic static void registerAll(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerArrayLists(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerArrayBigList(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerOpenHashSets(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerArraySets(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerRBTreeSets(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerAVLTreeSets(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerOpenHashMaps(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerRBTreeMaps(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic static void registerAVLTreeMaps(com.esotericsoftware.kryo.Kryo kryo)
kryo
- Kryo instancepublic void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, T object)
write
in class com.esotericsoftware.kryo.Serializer<T>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.