@Test void equals() { assertEquals( new MissingValueProcessor("unknown", true), new MissingValueProcessor("unknown", true)); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; MissingValueProcessor other = (MissingValueProcessor) obj; if (emptyIsMissing != other.emptyIsMissing) return false; if (missingValue == null) { if (other.missingValue != null) return false; } else if (!missingValue.equals(other.missingValue)) return false; return true; }
MissingValueProcessor extends AbstractCellProcessor { @Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; MissingValueProcessor other = (MissingValueProcessor) obj; if (emptyIsMissing != other.emptyIsMissing) return false; if (missingValue == null) { if (other.missingValue != null) return false; } else if (!missingValue.equals(other.missingValue)) return false; return true; } }
MissingValueProcessor extends AbstractCellProcessor { @Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; MissingValueProcessor other = (MissingValueProcessor) obj; if (emptyIsMissing != other.emptyIsMissing) return false; if (missingValue == null) { if (other.missingValue != null) return false; } else if (!missingValue.equals(other.missingValue)) return false; return true; } MissingValueProcessor(String missingValue, boolean emptyIsMissing); }
MissingValueProcessor extends AbstractCellProcessor { @Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; MissingValueProcessor other = (MissingValueProcessor) obj; if (emptyIsMissing != other.emptyIsMissing) return false; if (missingValue == null) { if (other.missingValue != null) return false; } else if (!missingValue.equals(other.missingValue)) return false; return true; } MissingValueProcessor(String missingValue, boolean emptyIsMissing); @Override String process(String value); @Override int hashCode(); @Override boolean equals(Object obj); }
MissingValueProcessor extends AbstractCellProcessor { @Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; MissingValueProcessor other = (MissingValueProcessor) obj; if (emptyIsMissing != other.emptyIsMissing) return false; if (missingValue == null) { if (other.missingValue != null) return false; } else if (!missingValue.equals(other.missingValue)) return false; return true; } MissingValueProcessor(String missingValue, boolean emptyIsMissing); @Override String process(String value); @Override int hashCode(); @Override boolean equals(Object obj);  }