|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.imgfmt.app.net.TableB
public class TableB
Table B contains offsets in NOD1 of neighbouring nodes outside the containing RouteCenter.
Constructor Summary | |
---|---|
TableB()
|
Method Summary | |
---|---|
void |
addNode(RouteNode node)
Add a node (in another RouteCenter) to this Table and return its index. |
byte |
getIndex(RouteNode node)
Retrieve a nodes index. |
byte |
getNumberOfItems()
Retrieve the size of the table as byte. |
int |
size()
Retrieve the size of the Table as an int. |
void |
write(ImgFileWriter writer)
Reserve space, since node offsets in other RoutingCenters need not be known yet. |
void |
writePost(ImgFileWriter writer)
Fill in node offsets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableB()
Method Detail |
---|
public int size()
public byte getNumberOfItems()
public void addNode(RouteNode node)
public byte getIndex(RouteNode node)
public void write(ImgFileWriter writer)
public void writePost(ImgFileWriter writer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |