@Override public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); ExternalizeUtil.writeEnum(out, this.type); }
@Override public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); ExternalizeUtil.writeEnum(out, this.type); }
public void writeExternal(ObjectOutput out, byte version) throws IOException { super.writeExternal(out); if (this.encoding == null) { this.encoding = getEncoding(this); } out.writeObject(this.encoding); if (version > 0) { ExternalizeUtil.writeEnum(out, this.type); } else { out.writeObject(this.type); } }
public void writeExternal(ObjectOutput out, byte version) throws IOException { super.writeExternal(out); if (this.encoding == null) { this.encoding = getEncoding(this); } out.writeObject(this.encoding); if (version > 0) { ExternalizeUtil.writeEnum(out, this.type); } else { out.writeObject(this.type); } }