org.basex.build.mediovis
Class MAB2Entry

java.lang.Object
  extended by org.basex.build.mediovis.MAB2Entry

public final class MAB2Entry
extends java.lang.Object

This is a simple data structure for storing MAB2 entries.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Constructor Summary
MAB2Entry(byte[] i)
          Constructor.
 
Method Summary
 void add(long c)
          Adds a child.
 void pos(long p)
          Sets the file offset.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MAB2Entry

public MAB2Entry(byte[] i)
Constructor.

Parameters:
i - id value
Method Detail

add

public void add(long c)
Adds a child.

Parameters:
c - child to be added

pos

public void pos(long p)
Sets the file offset.

Parameters:
p - file offset

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object