472473474475476477478479480481482
out.write(TREEMAP); LongPacker.packInt(out,l.size()); } writeObject(out, l.comparator()); for(Object o:l.keySet()){ writeObject(out, o); writeObject(out, l.get(o)); } }else if(clazz == HashMap.class){ HashMap l = (HashMap) obj;
486487488489490491492493494495496
}else{ out.write(HASHMAP); LongPacker.packInt(out,l.size()); } for(Object o:l.keySet()){ writeObject(out, o); writeObject(out, l.get(o)); } }else if(clazz == LinkedHashMap.class){ LinkedHashMap l = (LinkedHashMap) obj;
500501502503504505506507508509510
}else{ out.write(LINKEDHASHMAP); LongPacker.packInt(out,l.size()); } for(Object o:l.keySet()){ writeObject(out, o); writeObject(out, l.get(o)); } }else if(clazz == Hashtable.class){ Hashtable l = (Hashtable) obj;
514515516517518519520521522523524
}else{ out.write(HASHTABLE); LongPacker.packInt(out,l.size()); } for(Object o:l.keySet()){ writeObject(out, o); writeObject(out, l.get(o)); } }else if(clazz == Properties.class){
529530531532533534535536537538539
}else{ out.write(PROPERTIES); LongPacker.packInt(out,l.size()); } for(Object o:l.keySet()){ writeObject(out, o); writeObject(out, l.get(o)); } }else{