if (type1 == null) {
System.err.println("Unsupported key/value type! Falling back to default java deserialization!");
final ObjectInputStream ois = new ObjectInputStream(in);
return (FractalTreeEntry) ois.readObject();
}
final StringKey key;
final Object value, pointer, flag;
try {
// reads the key
key = new StringKey(Registration.deserializeWithoutId(String.class, in));
if (key.string == null) {
return new FractalTreeEntry<>();
}
// reads the value
value = Registration.deserializeWithoutId(Integer.class, in);