/** * Ensures that serialization returns the unique instances. * * @return The object. * * @throws ObjectStreamException if there is a problem. */ private Object readResolve() throws ObjectStreamException { if (this.equals(TableOrder.BY_ROW)) { return TableOrder.BY_ROW; } else if (this.equals(TableOrder.BY_COLUMN)) { return TableOrder.BY_COLUMN; } return null; }
/** * Ensures that serialization returns the unique instances. * * @return The object. * * @throws ObjectStreamException if there is a problem. */ private Object readResolve() throws ObjectStreamException { if (this.equals(TableOrder.BY_ROW)) { return TableOrder.BY_ROW; } else if (this.equals(TableOrder.BY_COLUMN)) { return TableOrder.BY_COLUMN; } return null; }
/** * Ensures that serialization returns the unique instances. * * @return The object. * * @throws ObjectStreamException if there is a problem. */ private Object readResolve() throws ObjectStreamException { if (this.equals(TableOrder.BY_ROW)) { return TableOrder.BY_ROW; } else if (this.equals(TableOrder.BY_COLUMN)) { return TableOrder.BY_COLUMN; } return null; }
if (!this.dataExtractOrder.equals(that.dataExtractOrder)) { return false;