net.sf.dexterim.oscar.entity
Class Word
java.lang.Object
net.sf.dexterim.oscar.entity.ByteBase
net.sf.dexterim.oscar.entity.Word
- All Implemented Interfaces:
- ByteBased
- public class Word
- extends ByteBase
Byte array with two entries
- Author:
- christoph
Constructor Summary |
Word(byte[] data)
|
Word(byte lowByte,
byte highByte)
|
Word(int value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Word
public Word(int value)
Word
public Word(byte lowByte,
byte highByte)
Word
public Word(byte[] data)
- Parameters:
data
-
createFrom
public static Word createFrom(byte[] data)
getLength
public int getLength()
- Returns the length in bytes. For Word always length of 2 is
returned.
- Returns:
- length in bytes always four for DWord
- See Also:
ByteBased.getLength()
toString
public java.lang.String toString()
getDefault
public static Word getDefault()
Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.