| java.lang.Object de.uka.ilkd.key.proof.decproc.UninterpretedTermWrapper
UninterpretedTermWrapper | public class UninterpretedTermWrapper (Code) | | A Wrapper class to export different .hashCode() and .equals(o) functions
|
Method Summary | |
public boolean | equals(Object o) Returns true iff eps.equalsModRenaming(o). | public int | hashCode() Returns A hash code compatible with the equalsModRenaming function of eps. |
UninterpretedTermWrapper | public UninterpretedTermWrapper(Term term)(Code) | | |
equals | public boolean equals(Object o)(Code) | | Returns true iff eps.equalsModRenaming(o).
Parameters: o - The Object which eps should be compared with;if o is not a Term, then normal .equals is used. |
hashCode | public int hashCode()(Code) | | Returns A hash code compatible with the equalsModRenaming function of eps.
For now this is a dummy value which forces HashSets to put all
UninterpretedTermWrappers in the same slot so that the .equals(o)
function has to be employed.
Later this linear effort should be replaced.
|
|
|