org.jboss.serial.finalcontainers
Class LongContainer

java.lang.Object
  extended byorg.jboss.serial.objectmetamodel.DataExport
      extended byorg.jboss.serial.finalcontainers.FinalContainer
          extended byorg.jboss.serial.finalcontainers.LongContainer

public class LongContainer
extends FinalContainer

$Id: LongContainer.java,v 1.1 2005/10/24 22:10:46 csuconic Exp $

Author:
Clebert Suconic

Constructor Summary
LongContainer()
           
LongContainer(long value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 long getValue()
           
 int hashCode()
           
 void readMyself(java.io.DataInput input)
           
 void setPrimitive(java.lang.Object obj, java.lang.reflect.Field field)
           
 void writeMyself(java.io.DataOutput output)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongContainer

public LongContainer(long value)

LongContainer

public LongContainer()
Method Detail

getValue

public long getValue()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

writeMyself

public void writeMyself(java.io.DataOutput output)
                 throws java.io.IOException
Throws:
java.io.IOException

readMyself

public void readMyself(java.io.DataInput input)
                throws java.io.IOException
Throws:
java.io.IOException

setPrimitive

public void setPrimitive(java.lang.Object obj,
                         java.lang.reflect.Field field)
                  throws java.lang.IllegalAccessException
Specified by:
setPrimitive in class FinalContainer
Throws:
java.lang.IllegalAccessException


JBoss Serialization, a new approach to java-serialization.