public interface Hashable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Hashable.Error |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
toHash() |
void |
updateFromHash(java.util.Map<java.lang.String,java.lang.Object> hash)
Load object state from the hash
|
java.util.Map<java.lang.String,java.lang.Object> toHash()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionvoid updateFromHash(java.util.Map<java.lang.String,java.lang.Object> hash)
throws Hashable.Error
hash - with dataHashable.Error - if the data are not suitable to load the object state