public class CompSerWrapper<T extends Serializable & Comparable<? super T>> extends SerWrapper<T> implements Comparable<CompSerWrapper<T>>
Serializable
and Comparable, and the marshalled form is a byte
array.| Constructor and Description |
|---|
CompSerWrapper()
Creates a new wrapper.
|
CompSerWrapper(T raw)
Creates a new wrapper for the given object, in its raw form.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CompSerWrapper<T> other) |
getDeserializationException, getSerializationException, toMarshalled, toRawgetMarshalled, getRaw, readExternal, setMarshalled, setMarshalledOnly, setRaw, setRawOnly, writeExternalpublic CompSerWrapper(T raw)
raw - The object, which may be null.public CompSerWrapper()
public int compareTo(CompSerWrapper<T> other)
compareTo in interface Comparable<CompSerWrapper<T extends Serializable & Comparable<? super T>>>Copyright © 2015. All Rights Reserved.