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 booleanequals(Object o)Compares the hashcodes of the payloads.ObjectgetPayload()Returns the stored object.inthashCode()Returns the hashcode of the payload object.StringtoString()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
-
-