public void writeExternal(final ObjectOutput out) throws IOException
{
out.writeInt(this.map.size());
try
{
this.map.forEachKeyValue(new CheckedLongDoubleProcedure()
{
@Override
public void safeValue(long key, double value) throws IOException
{
out.writeLong(key);