Class AbstractHashable
- java.lang.Object
-
- ch.systemsx.cisd.common.reflection.AbstractHashable
-
public abstract class AbstractHashable extends java.lang.ObjectIf you want your class to behave correctly when used inMaps orSets, you can do this by:- Extending this class
- Ensuring that all used field types implement
equals()andhashCode()(e.g. by extending this class)
-
-
Constructor Summary
Constructors Constructor Description AbstractHashable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()
-