mapsforge bridge
This commit is contained in:
parent
ebd9305528
commit
875c5b4ddd
1 changed files with 17 additions and 0 deletions
|
@ -228,6 +228,23 @@ public abstract class BExpressionContext implements IByteArrayUnifier
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<String> getKeyValueList( boolean inverseDirection, byte[] ab )
|
||||||
|
{
|
||||||
|
ArrayList<String> res = new ArrayList<String>();
|
||||||
|
decode( lookupData, inverseDirection, ab );
|
||||||
|
for( int inum = 0; inum < lookupValues.size(); inum++ ) // loop over lookup names
|
||||||
|
{
|
||||||
|
BExpressionLookupValue[] va = lookupValues.get(inum);
|
||||||
|
String value = va[lookupData[inum]].toString();
|
||||||
|
if ( value != null && value.length() > 0 )
|
||||||
|
{
|
||||||
|
res.add( lookupNames.get( inum ) );
|
||||||
|
res.add( value );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
private int parsedLines = 0;
|
private int parsedLines = 0;
|
||||||
private boolean fixTagsWritten = false;
|
private boolean fixTagsWritten = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue