@Override public boolean equals(Object obj) { return super.equals(obj) && (hasSeed || random.equals(((RandomFunction)obj).random)); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; ToNumberFunction other = (ToNumberFunction)obj; if (formatString == null) { if (other.formatString != null) return false; } else if (!formatString.equals(other.formatString)) return false; if (!getExpression().equals(other.getExpression())) return false; return true; } }
@Override public boolean equals(Object obj) { return super.equals(obj) && (hasSeed || random.equals(((RandomFunction)obj).random)); }
@Override public boolean equals(Object obj) { return super.equals(obj) && (hasSeed || random.equals(((RandomFunction)obj).random)); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; ToNumberFunction other = (ToNumberFunction)obj; if (formatString == null) { if (other.formatString != null) return false; } else if (!formatString.equals(other.formatString)) return false; if (!getExpression().equals(other.getExpression())) return false; return true; } }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (!super.equals(obj)) return false; if (getClass() != obj.getClass()) return false; ToNumberFunction other = (ToNumberFunction)obj; if (formatString == null) { if (other.formatString != null) return false; } else if (!formatString.equals(other.formatString)) return false; if (!getExpression().equals(other.getExpression())) return false; return true; } }