Object writeReplace() throws ObjectStreamException {
   if (SerializeControl.isVanillaCollections()) {
     return set;
   }
   return this;
 }
 Object readResolve() throws ObjectStreamException {
   if (SerializeControl.isVanillaCollections()) {
     return set;
   }
   return this;
 }