int offset = keyDir.value[pos++]; GeoKey.Tag tag = GeoKey.Tag.getOrMake(id);
int offset = keyDir.value[pos++]; GeoKey.Tag tag = GeoKey.Tag.getOrMake(id);
int offset = keyDir.value[pos++]; GeoKey.Tag tag = GeoKey.Tag.getOrMake(id);
/** * Construct a GeoKey with a single integer value. * @param id GeoKey.Tag number * @param v value */ GeoKey( int id, int v) { this.id = id; this.count = 1; this.tag = GeoKey.Tag.get(id); this.tagValue = TagValue.get(tag, v); if (tagValue == null) { this.value = new int[1]; this.value[0] = v; } }
int tagCode() { if (tag != null) return tag.code(); return id; }
/** * Construct a GeoKey with a single integer value. * @param id GeoKey.Tag number * @param v value */ GeoKey( int id, int v) { this.id = id; this.count = 1; this.tag = GeoKey.Tag.get(id); this.tagValue = TagValue.get(tag, v); if (tagValue == null) { this.value = new int[1]; this.value[0] = v; } }
int tagCode() { if (tag != null) return tag.code(); return id; }
public int compareTo( Object o) { if (!(o instanceof TagValue)) return 0; int ret = tag.compareTo( o); if (ret != 0) return ret; return value - ((TagValue)o).value; } }
public int compareTo( Object o) { if (!(o instanceof TagValue)) return 0; int ret = tag.compareTo( o); if (ret != 0) return ret; return value - ((TagValue)o).value; } }
/** * Construct a GeoKey with a single integer value. * @param id GeoKey.Tag number * @param v value */ GeoKey( int id, int v) { this.id = id; this.count = 1; this.tag = GeoKey.Tag.get(id); this.tagValue = TagValue.get(tag, v); if (tagValue == null) { this.value = new int[1]; this.value[0] = v; } }
int tagCode() { if (tag != null) return tag.code(); return id; }
public int compareTo( Object o) { if (!(o instanceof TagValue)) return 0; int ret = tag.compareTo( o); if (ret != 0) return ret; return value - ((TagValue)o).value; } }