public class Serializables extends Object
| Constructor and Description |
|---|
Serializables() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Serializable> |
clone(T o)
Deep clone using serializable interface.
|
static byte[] |
hashSerializable(Serializable o,
String hashType)
Retrieve a hash getValue for the provided Serializable type.
|
static String |
hashSerializableAsString(Serializable o,
String hashType)
Retrieve a hash getValue for the provided Serializable type.
|
public static byte[] hashSerializable(Serializable o, String hashType)
o - The object to serialize.hashType - The type of hash requested.public static String hashSerializableAsString(Serializable o, String hashType)
o - hashType - public static <T extends Serializable> T clone(T o)
o - The objcet to clone, or null.Copyright © 2014. All rights reserved.