コード例 #1
0
ファイル: Building.java プロジェクト: pmerker/elevator
 static final void fillActiveCallsWithEmpties(
     Building building) { // makes a call with default values
   for (int i = 0;
       i <= building.getCallLength() - 1;
       i++) { // populates the buildings call for the day
     Calls person = new Calls(); // creates call to build
     person.PopulateCalls(-1, -1, -1, -1, -1); // default values
     building.setActiveCallPosition(i, person);
   }
 }