Class JunctionSupport
java.lang.Object
com.github.tommyettinger.kryo.jdkgdxds.JunctionSupport
Not actually a Serializer, this just has code to register the needed classes for Junction to be serializable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterJunction(com.esotericsoftware.kryo.Kryo kryo) Given a Kryo instance to register classes on, this registers (in order):ObjectListJunctionJunction.AnyJunction.AllJunction.OneJunction.NotJunction.LeafThis means if you call this on a server, it also must be called at the same point in registration order as you call it on the client-side.
-
Constructor Details
-
JunctionSupport
public JunctionSupport()
-
-
Method Details
-
registerJunction
Given a Kryo instance to register classes on, this registers (in order):ObjectListJunctionJunction.AnyJunction.AllJunction.OneJunction.NotJunction.Leaf
- Parameters:
kryo- a non-null Kryo instance
-