public Exchange(Housedata A1, Housedata A2, HPAdata HPA, int TermCount, CostAndRangeRankingList lowScore ) {
		HPAdata F1 = HPA; //̂̉ƋĂ
		int k = Integer.MAX_VALUE;
		for ( int i = 0; i < A2.getFurnitureList().size(); i++ ) {
			HPAdata F2 = A2.getFurnitureList().get(i);
			if ( F2 == F1 )  k = i;
		}
		
		//①ɂ̐𒲂ׂ@QȏȂȁ[H
		int Count = 0;
		for ( int i = 0; i < A1.getFurnitureList().size(); i++ ) {
			if ( HPA.getName().equals( A1.getFurnitureList().get( i ).getName() ) ) Count += 1;
		}
		if ( k != Integer.MAX_VALUE && !( Count >= 2 ) ) { //①ɂ݂ȂꍇȂA݂ĂA①ɂQȏĂƂȂO
			int str6 = A2.getFurnitureList ().get ( k ).getTermValue();
			if ( F1.getExchangecount() <= TermCount ) { //̉Ƌ͂P^[ɂPxoȂ
				F1.setExchangecount ( F1.getExchangecount() + 1 );//񐔉Z
				A2.getFurnitureList().remove ( k ); //̉Ƌ͏
				A1.getFurnitureList().add ( F1 ); //Ƌǉ
				A1.setCoin ( A1.getCoin() - str6 );//A1̉ƂRCւ
				A2.setCoin ( A2.getCoin() + str6 );//RC
				System.out.println( A1.getName () + "<->" + A2.getName() );
				System.out.println( str6 + "<->炤" + F1.getName () );
				//System.out.print( lowScore.getCost() + ":");
				//System.out.println( lowScore.getRange() );
				
			}
		}
	}