Reformat whole codebase using Android Studio
This commit is contained in:
parent
d5322667d5
commit
c15913c1ab
161 changed files with 15124 additions and 18537 deletions
|
|
@ -1,50 +1,43 @@
|
|||
/**
|
||||
* Container for an osm node with tags or restrictions (pre-pocessor version)
|
||||
*
|
||||
* @author ab
|
||||
*/
|
||||
package btools.mapcreator;
|
||||
|
||||
|
||||
public class OsmNodePT extends OsmNodeP
|
||||
{
|
||||
public byte[] descriptionBits;
|
||||
|
||||
public RestrictionData firstRestriction;
|
||||
|
||||
public OsmNodePT()
|
||||
{
|
||||
}
|
||||
|
||||
public OsmNodePT( OsmNodeP n )
|
||||
{
|
||||
ilat = n.ilat;
|
||||
ilon = n.ilon;
|
||||
selev = n.selev;
|
||||
bits = n.bits;
|
||||
}
|
||||
|
||||
public OsmNodePT( byte[] descriptionBits )
|
||||
{
|
||||
this.descriptionBits = descriptionBits;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final byte[] getNodeDecsription()
|
||||
{
|
||||
return descriptionBits;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final RestrictionData getFirstRestriction()
|
||||
{
|
||||
return firstRestriction;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTransferNode()
|
||||
{
|
||||
return false; // always have descriptionBits so never transfernode
|
||||
}
|
||||
|
||||
}
|
||||
/**
|
||||
* Container for an osm node with tags or restrictions (pre-pocessor version)
|
||||
*
|
||||
* @author ab
|
||||
*/
|
||||
package btools.mapcreator;
|
||||
|
||||
|
||||
public class OsmNodePT extends OsmNodeP {
|
||||
public byte[] descriptionBits;
|
||||
|
||||
public RestrictionData firstRestriction;
|
||||
|
||||
public OsmNodePT() {
|
||||
}
|
||||
|
||||
public OsmNodePT(OsmNodeP n) {
|
||||
ilat = n.ilat;
|
||||
ilon = n.ilon;
|
||||
selev = n.selev;
|
||||
bits = n.bits;
|
||||
}
|
||||
|
||||
public OsmNodePT(byte[] descriptionBits) {
|
||||
this.descriptionBits = descriptionBits;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final byte[] getNodeDecsription() {
|
||||
return descriptionBits;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final RestrictionData getFirstRestriction() {
|
||||
return firstRestriction;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTransferNode() {
|
||||
return false; // always have descriptionBits so never transfernode
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue