Package adams.core
Class WrapperHashSet.Wrapper
- java.lang.Object
-
- adams.core.WrapperHashSet.Wrapper
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- WrapperHashSet<E>
public static class WrapperHashSet.Wrapper extends Object implements Serializable
The class that wraps.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Compares the hashcodes of the payloads.Object
getPayload()
Returns the stored object.int
hashCode()
Returns the hashcode of the payload object.String
toString()
Returns the string representation of the payload.
-
-
-
Field Detail
-
m_Payload
protected Object m_Payload
the payload object.
-
-
Constructor Detail
-
Wrapper
public Wrapper(Object payload)
Initializes the wrapper.- Parameters:
payload
- the payload to wrap around
-
-