|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jna.Structure
de.aitools.aq.invertedindex.core.Postlist.Head
public static class Postlist.Head
A class representing the head of a postlist, that contains some meta-information.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.jna.Structure |
---|
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue |
Field Summary | |
---|---|
int |
totalSize
|
int |
valueCount
|
short |
valueSize
|
Fields inherited from class com.sun.jna.Structure |
---|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE |
Constructor Summary | |
---|---|
Postlist.Head()
|
Method Summary | |
---|---|
int |
getTotalSize()
The total size in bytes of all values stored in the referenced postlist. |
int |
getValueCount()
Returns the number of values stored in the corresponding postlist. |
short |
getValueSize()
The native size in bytes of a single postlist value. |
java.io.PrintStream |
print(java.io.PrintStream stream)
Prints the content of this object in a human-readable form to the given PrintStream . |
Methods inherited from class com.sun.jna.Structure |
---|
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, read, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toArray, toArray, toString, toString, write, writeField, writeField |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int valueCount
public short valueSize
public int totalSize
Constructor Detail |
---|
public Postlist.Head()
Method Detail |
---|
public int getValueCount()
public short getValueSize()
SingleInt
for instance, but variable as
for SingleString
, the returned value is zero.
public int getTotalSize()
public java.io.PrintStream print(java.io.PrintStream stream)
PrintStream
.
stream
- the stream to print to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |