01: import java.util.*;
02: 
03: public class QueueTester
04: {
05:    public static void main(String[] args)
06:    {
07:       BoundedQueue<String> q = new BoundedQueue<String>(10);
08: 
09:       q.add("Belgium");
10:       q.add("Italy");
11:       q.add("France");
12:       q.remove();
13:       q.add("Thailand");
14: 
15:       ArrayList<String> a = new ArrayList<String>();
16:       a.addAll(q);
17:       System.out.println("Result of bulk add: " + a);
18:       System.out.println("Minimum: " + Collections.min(q));
19:    }
20: }