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) |
public HashableMarshalledValue(T object, MarshallingContext context) throws IOException
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 © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.