}
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
{
int size = in.readInt();
MutableFloatIntMap deserializedMap = new FloatIntHashMap();
for (int i = 0; i < size; i++)
{
deserializedMap.put(in.readFloat(), in.readInt());
}
this.map = deserializedMap;
}