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, toStringpublic HashableMarshalledValue(T object, MarshallingContext context)
public int hashCode()
SimpleMarshalledValueinstead.hashCode in class SimpleMarshalledValue<T>Object.hashCode()public boolean equals(Object object)
equals in class SimpleMarshalledValue<T>Copyright © 2020 JBoss by Red Hat. All rights reserved.