| Package | Description |
|---|---|
| myhw2.data |
| Modifier and Type | Method and Description |
|---|---|
Record |
Inventory.get(Video v)
Return the record for a given Video; if not present, return
null. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Record> |
Inventory.iterator()
Return an iterator over Records in the Inventory.
|
java.util.Iterator<Record> |
Inventory.iterator(java.util.Comparator<Record> comparator)
Return an iterator over the Inventory, sorted accoring the
Comparator.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Record> |
Inventory.iterator(java.util.Comparator<Record> comparator)
Return an iterator over the Inventory, sorted accoring the
Comparator.
|