Package com.terracottatech.store
Class TypedValue.Impl<T>
java.lang.Object
com.terracottatech.store.TypedValue.Impl<T>
- Type Parameters:
T
- the type parameter
- All Implemented Interfaces:
TypedValue<T>
- Enclosing interface:
- TypedValue<T>
Implementation class.
-
Constructor Details
-
Impl
Instantiates a new .- Parameters:
type
- the typevalue
- the value
-
-
Method Details
-
type
Description copied from interface:TypedValue
Returns the type of this value.- Specified by:
type
in interfaceTypedValue<T>
- Returns:
- definition type
-
value
Description copied from interface:TypedValue
Returns the value held in this TypedValue instance.- Specified by:
value
in interfaceTypedValue<T>
- Returns:
- the value
-
equals
-
hashCode
public int hashCode() -
toString
-