@Test public void testEqualsWithExpectedSuccess() { final Equation other = new Equation("=$A+$B", variableReferences, new TreeMap<String, Object>(), code, sourceLocations, Long.class); assertTrue("equals() failed.", eqn.equals(other)); }
@Override public boolean equals(final Object other) { if (other == null || other.getClass() != Equation.class) return false; final Equation otherEquation = (Equation)other; return equation.equals(otherEquation.equation); }
Equation { @Override public boolean equals(final Object other) { if (other == null || other.getClass() != Equation.class) return false; final Equation otherEquation = (Equation)other; return equation.equals(otherEquation.equation); } }
Equation { @Override public boolean equals(final Object other) { if (other == null || other.getClass() != Equation.class) return false; final Equation otherEquation = (Equation)other; return equation.equals(otherEquation.equation); } Equation(final String equation, final Set<String> variableReferences,
	                final Map<String, Object> defaultVariableValues, final Object[] code,
	                final int[] sourceLocations, final Class<?> type); }
Equation { @Override public boolean equals(final Object other) { if (other == null || other.getClass() != Equation.class) return false; final Equation otherEquation = (Equation)other; return equation.equals(otherEquation.equation); } Equation(final String equation, final Set<String> variableReferences,
	                final Map<String, Object> defaultVariableValues, final Object[] code,
	                final int[] sourceLocations, final Class<?> type); @Override String toString(); @Override boolean equals(final Object other); @Override int hashCode(); Set<String> getVariableReferences(); Map<String, Object> getDefaultVariableValues(); Object[] getCode(); int[] getSourceLocations(); Class<?> getType(); }
Equation { @Override public boolean equals(final Object other) { if (other == null || other.getClass() != Equation.class) return false; final Equation otherEquation = (Equation)other; return equation.equals(otherEquation.equation); } Equation(final String equation, final Set<String> variableReferences,
	                final Map<String, Object> defaultVariableValues, final Object[] code,
	                final int[] sourceLocations, final Class<?> type); @Override String toString(); @Override boolean equals(final Object other); @Override int hashCode(); Set<String> getVariableReferences(); Map<String, Object> getDefaultVariableValues(); Object[] getCode(); int[] getSourceLocations(); Class<?> getType();  }