Class BinaryTreeMap
- java.lang.Object
-
- org.apache.ignite.internal.binary.BinaryTreeMap
-
- All Implemented Interfaces:
Serializable,Binarylizable
public class BinaryTreeMap extends Object implements Binarylizable, Serializable
BinaryTreeMapwrapper.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BinaryTreeMap()Default constructor.BinaryTreeMap(TreeMap map)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadBinary(BinaryReader reader)Reads fields from provided reader.protected ObjectreadResolve()Reconstructs object on unmarshalling.voidwriteBinary(BinaryWriter writer)Writes fields to provided writer.
-
-
-
Constructor Detail
-
BinaryTreeMap
public BinaryTreeMap()
Default constructor.
-
BinaryTreeMap
public BinaryTreeMap(TreeMap map)
Constructor.- Parameters:
map- Original map.
-
-
Method Detail
-
writeBinary
public void writeBinary(BinaryWriter writer) throws BinaryObjectException
Writes fields to provided writer.- Specified by:
writeBinaryin interfaceBinarylizable- Parameters:
writer- Binary object writer.- Throws:
BinaryObjectException- In case of error.
-
readBinary
public void readBinary(BinaryReader reader) throws BinaryObjectException
Reads fields from provided reader.- Specified by:
readBinaryin interfaceBinarylizable- Parameters:
reader- Binary object reader.- Throws:
BinaryObjectException- In case of error.
-
readResolve
protected Object readResolve() throws ObjectStreamException
Reconstructs object on unmarshalling.- Returns:
- Reconstructed object.
- Throws:
ObjectStreamException- Thrown in case of unmarshalling error.
-
-