ntt);
ntt, dp);
    public void end_Building_Type() throws SAXException {        Consumption[] consumes = new Consumption[typeConsumes.size()];        for (int i = 0; i < typeConsumes.size(); i++) {            consumes[i] = (Consumption)typeConsumes.get(i);        }        Production[] produces = new Production[typeProduces.size()];        for (int i = 0; i < typeProduces.size(); i++) {            produces[i] = (Production)typeProduces.get(i);        }        Conversion[] converts = new Conversion[typeConverts.size()];        for (int i = 0; i < typeConverts.size(); i++) {            converts[i] = (Conversion)typeConverts.get(i);        }	BuildingType buildingType;	byte[] tts = new byte[trackTemplates.size()];	for (int i = 0; i < trackTemplates.size(); i++) {	    tts[i] = ((Byte) trackTemplates.get(i)).byteValue();	}	    	boolean[] att = new boolean[world.size(KEY.TERRAIN_TYPES,		Player.AUTHORITATIVE)];	boolean[] ntt = new boolean[world.size(KEY.TERRAIN_TYPES,	    Player.AUTHORITATIVE)];	for (int i = 0; i < acceptableTerrainTypes.size(); i++)	    att[((Integer) acceptableTerrainTypes.get(i)).intValue()] = true;	for (int i = 0; i < neighbouringTerrainTypes.size(); i++)	    ntt[((Integer) neighbouringTerrainTypes.get(i)).intValue()] = true;		if (isStation) {	    buildingType = new BuildingType(tileID, tileBaseValue,		    stationRadius, tts, att, ntt);	} else {	    buildingType = new BuildingType(tileID, produces,		    consumes, converts, tileBaseValue, tileCategory, tts, att,		    ntt);	}	world.add(KEY.BUILDING_TYPES, buildingType, Player.AUTHORITATIVE);    }