objOut = new ObjectOutputStream(bytesOut);
objOut.writeObject(frontcodedList);
objOut.close();
bytes = bytesOut.toByteArray();
os.writeInt(bytes.length);
os.write(bytes);
// Serialize the hash function
ShiftAddXorSignedStringMap dict = new ShiftAddXorSignedStringMap(stringList.iterator(),
new TwoStepsLcpMonotoneMinimalPerfectHashFunction<CharSequence>(stringList,