org.expasy.jpl.commons.collection
Interface Mappable

All Known Subinterfaces:
Cachable

public interface Mappable

The Mappable interface has to be implemented by all object that can be keyed in hash maps.

TODO: We have to find another way to force the overrides of methods equals() and hashCode().

By now, it is simply a tag interface as methods are already implemented in Object class.

Version:
1.0
Author:
nikitin

Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 

Method Detail

equals

boolean equals(Object o)
Overrides:
equals in class Object
Returns:
true if equals

hashCode

int hashCode()
Overrides:
hashCode in class Object
Returns:
the hash code of the object


Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.