|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.derquinse.common.test.SerializabilityTests
public final class SerializabilityTests
Serializability support methods.
| Method Summary | ||
|---|---|---|
static
|
check(T obj)
Checks serializability of one object and equality of the provided instance and the deserialized one. |
|
static
|
check(T obj,
boolean equality)
Checks serializability of one object and (if desired) equality of the provided instance and the deserialized one. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T extends Serializable> T check(T obj,
boolean equality)
throws UnableToSerializeException
obj - Object to test.equality - Whether to test for equality.
UnableToSerializeExceptionEqualityTests.two(Object, Object)
public static <T extends Serializable> T check(T obj)
throws UnableToSerializeException
obj - Object to test.
UnableToSerializeExceptionEqualityTests.two(Object, Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||