433434435436437438439440441442443
out.write(l.size()); }else{ out.write(TREESET); LongPacker.packInt(out,l.size()); } writeObject(out,l.comparator()); for(Object o:l) writeObject(out, o); }else if(clazz == HashSet.class){ HashSet l = (HashSet) obj;
471472473474475476477478479480481
}else{ 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){