memory squeezing pre-processor (link-identity)

This commit is contained in:
Arndt Brenschede 2014-12-23 18:00:23 +01:00
parent 8a6e601811
commit 176beba6f6
3 changed files with 61 additions and 40 deletions

View file

@ -17,11 +17,11 @@ public class OsmLinkP
/**
* The target is either the next link or the target node
*/
private OsmNodeP sourceNode;
private OsmNodeP targetNode;
protected OsmNodeP sourceNode;
protected OsmNodeP targetNode;
private OsmLinkP previous;
private OsmLinkP next;
protected OsmLinkP previous;
protected OsmLinkP next;
public OsmLinkP( OsmNodeP source, OsmNodeP target )
@ -30,6 +30,10 @@ public class OsmLinkP
targetNode = target;
}
protected OsmLinkP()
{
}
public final boolean counterLinkWritten( )
{
return descriptionBitmap == null;