Package com.prineside.tdi2.utils
Class ObjectPair<F,S>
java.lang.Object
com.prineside.tdi2.utils.ObjectPair<F,S>
- All Implemented Interfaces:
Pool.Poolable
,KryoSerializable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
first
-
second
-
-
Constructor Details
-
ObjectPair
public ObjectPair() -
ObjectPair
-
-
Method Details
-
set
-
reset
public void reset()Description copied from interface:com.badlogic.gdx.utils.Pool.Poolable
Resets the object for reuse. Object references should be nulled and fields may be set to default values.- Specified by:
reset
in interfacePool.Poolable
-
write
- Specified by:
write
in interfaceKryoSerializable
-
read
- Specified by:
read
in interfaceKryoSerializable
-
toString
-