T - type of the wrapped value.public abstract class WrapperBase<T>
extends java.lang.Object
equals(Object) and hashCode() solely by comparing/hashing
the wrapped values.| Modifier | Constructor and Description |
|---|---|
protected |
WrapperBase(T delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object that) |
T |
getWrappedValue() |
int |
hashCode() |
protected WrapperBase(T delegate)
delegate - wrapped value.public final T getWrappedValue()
public final boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Object