|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.marshall.jboss.MarshallUtil
@Immutable public class MarshallUtil
MarshallUtil.
Constructor Summary | |
---|---|
MarshallUtil()
|
Method Summary | |
---|---|
static void |
marshallCollection(Collection c,
ObjectOutput out)
|
static void |
marshallMap(Map map,
ObjectOutput out)
|
static int |
readUnsignedInt(ObjectInput in)
Reads an int stored in variable-length format. |
static long |
readUnsignedLong(ObjectInput in)
Reads a long stored in variable-length format. |
static void |
unmarshallMap(Map map,
ObjectInput in)
|
static void |
writeUnsignedInt(ObjectOutput out,
int i)
Writes an int in a variable-length format. |
static void |
writeUnsignedLong(ObjectOutput out,
long i)
Writes a long in a variable-length format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarshallUtil()
Method Detail |
---|
public static void writeUnsignedInt(ObjectOutput out, int i) throws IOException
i
- int to write
IOException
public static int readUnsignedInt(ObjectInput in) throws IOException
IOException
public static void marshallCollection(Collection c, ObjectOutput out) throws IOException
IOException
public static void marshallMap(Map map, ObjectOutput out) throws IOException
IOException
public static void unmarshallMap(Map map, ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public static void writeUnsignedLong(ObjectOutput out, long i) throws IOException
i
- int to write
IOException
public static long readUnsignedLong(ObjectInput in) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |