net.sf.dexterim.oscar.entity
Class QWord

java.lang.Object
  extended bynet.sf.dexterim.oscar.entity.QWord
All Implemented Interfaces:
ByteBased

public class QWord
extends java.lang.Object
implements ByteBased

Author:
christoph TODO: Message toByteArray contains duplicate code (copied from ByteBase)

Constructor Summary
QWord()
           
QWord(long value)
           
 
Method Summary
 int getLength()
          Returns the length in bytes.
 long getValue()
          Returns the value as long
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QWord

public QWord(long value)

QWord

public QWord()
Method Detail

getLength

public int getLength()
Description copied from interface: ByteBased
Returns the length in bytes.

Specified by:
getLength in interface ByteBased
Returns:
length in bytes
See Also:
ByteBased.getLength()

getValue

public long getValue()
Returns the value as long

Returns:

toByteArray

public byte[] toByteArray()
Specified by:
toByteArray in interface ByteBased
See Also:
ByteBased.toByteArray()


Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.