public abstract class WrappedValue extends Object
WrappedValue
and pass an java.lang.Integer
as the value.
Provides implementations of equals(Object)
, toString()
and hashCode()
based on the value
of the wrapped instance.Modifier | Constructor and Description |
---|---|
protected |
WrappedValue(Object wrapped) |
protected WrappedValue(Object wrapped)
public String toString()
public final boolean equals(Object other)
Object.equals(Object)
- not equal to null, equal to same instance
Copyright © 2006-2013. All Rights Reserved.