public class HashableMarshalledValue<T> extends SimpleMarshalledValue<T>
SimpleMarshalledValue
, but also serializes the underlying object's hash code,
so that this object can still be hashed, even if deserialized, but not yet rehydrated.Constructor and Description |
---|
HashableMarshalledValue(T object,
MarshallingContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
hashCode()
N.B.
|
get, toString
public HashableMarshalledValue(T object, MarshallingContext context)
object
- context
- IOException
public int hashCode()
SimpleMarshalledValue
instead
.hashCode
in class SimpleMarshalledValue<T>
Object.hashCode()
public boolean equals(Object object)
equals
in class SimpleMarshalledValue<T>
Copyright © 2016 JBoss by Red Hat. All rights reserved.