|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Deduplicable
Interface implemented by objects that can be deduplicated by detecting previously created identical instances.
DeduplicableRegistry| Method Summary | |
|---|---|
int |
getHashCode()
Returns a hash code to be used for the deduplicate map. |
boolean |
isIdentical(Object object)
Determines if this instance is identical to another object. |
| Method Detail |
|---|
int getHashCode()
isIdentical(Object),
i.e. if two objects are identical they should have the same hash code.
boolean isIdentical(Object object)
object - the object to compare with this instance
true if the two objects are identical and can be deduplicated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||