// File: ClientParcelsToSend.java
// Time-stamp: "2006-02-12 21:54:42 calvanese"
// Purpose: Written exam 8/2/2006 - BSC in Production Engineering
//          solution part 2

public class ClientParcelsToSend {

  public static void getParcelsByAddress(ParcelsToSend ps, String s) {
    int[] posarray = ps.parcelsForAddress(s);
    for (int i = 0; i < posarray.length; i++)
      System.out.println(posarray[i] + " " + ps.parcel(posarray[i]));
  }

}
