| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | /* |
||
| 8 | public class Main { |
||
| 9 | |||
| 10 | public static void main(String[] args) { |
||
| 11 | |||
| 12 | ClientInterface client = new Client(); |
||
| 13 | |||
| 14 | client.addItemToTheBucket(new Item("Tights", 150, "darned")); |
||
| 15 | client.addItemToTheBucket(new Item("Meat", 250, "rotten")); |
||
| 16 | client.addItemToTheBucket(new Item("Bread", 40, "")); |
||
| 17 | |||
| 18 | IteratorInterface employee = new Iterator(client.getBucket()); |
||
| 19 | |||
| 20 | try { |
||
| 21 | System.out.println(employee.iterateItems()); |
||
| 22 | } catch (Exception e) { |
||
| 23 | System.out.printf("Caught exception: %s \n", e.getLocalizedMessage()); |
||
| 24 | } |
||
| 27 |