net.sourceforge.neurosdbm.db
Class Word
java.lang.Object
net.sourceforge.neurosdbm.db.Word
- All Implemented Interfaces:
- java.lang.Comparable
- public class Word
- extends java.lang.Object
- implements java.lang.Comparable
Constructor Summary |
Word(java.nio.ByteBuffer bytes,
int wordoffset)
|
Word(byte msb,
byte lsb)
|
Word(long longValue)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
msb
private byte msb
lsb
private byte lsb
value
private int value
FIELD_DELIMETER
public static final Word FIELD_DELIMETER
BAG_DELIMETER
public static final Word BAG_DELIMETER
END_OF_RECORD
public static final Word END_OF_RECORD
ESCAPER
public static final Word ESCAPER
Word
public Word(long longValue)
Word
public Word(byte msb,
byte lsb)
Word
public Word(java.nio.ByteBuffer bytes,
int wordoffset)
getValue
public int getValue()
getMSB
public byte getMSB()
getLSB
public byte getLSB()
checkBit
boolean checkBit(int bit)
isFieldDelimeter
boolean isFieldDelimeter()
isBagDelimeter
boolean isBagDelimeter()
isEndOfRecord
boolean isEndOfRecord()
isEscaper
boolean isEscaper()
equals
public boolean equals(java.lang.Object obj)
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
toString
public java.lang.String toString()
Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.