org.jboss.portal.common.adapter
Interface JavaLangObjectAdapted

All Known Implementing Classes:
DefaultJavaLangObjectAdapted

public interface JavaLangObjectAdapted

Defines contract for the java.lang.Object adapted.

Version:
$Revision: 7228 $
Author:
Julien Viet

Method Summary
 boolean equals(ClassAdaptable adaptable, java.lang.Object obj)
          Implementation of equals.
 int hashCode(ClassAdaptable adaptable)
          Implementation of hashCode.
 java.lang.String toString(ClassAdaptable adaptable)
          Implementation of toString().
 

Method Detail

toString

java.lang.String toString(ClassAdaptable adaptable)
Implementation of toString().

Parameters:
adaptable - the adaptable object
Returns:
the string value

hashCode

int hashCode(ClassAdaptable adaptable)
Implementation of hashCode.

Parameters:
adaptable - the adaptable object
Returns:
the hash code value

equals

boolean equals(ClassAdaptable adaptable,
               java.lang.Object obj)
Implementation of equals.

Parameters:
adaptable - the adaptable object
obj - the object to test equality with
Returns:
true the equals value