@@ -1,11 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Jmw\Collection\Map; |
| 3 | 3 | |
| 4 | -use Jmw\Collection\Set\SetAbstract; |
|
| 4 | +use Jmw\Collection\Exception\UnsupportedOperationException; |
|
| 5 | 5 | use Jmw\Collection\Lists\ArrayList; |
| 6 | -use Jmw\Collection\Set\TupleSet; |
|
| 7 | 6 | use Jmw\Collection\Set\ArraySet; |
| 8 | -use Jmw\Collection\Exception\UnsupportedOperationException; |
|
| 7 | +use Jmw\Collection\Set\TupleSet; |
|
| 9 | 8 | /** |
| 10 | 9 | * Hash table based implementation of the Map interface. |
| 11 | 10 | * This implementation provides all of the optional map operations, |
@@ -1,15 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Jmw\Collection\Set; |
| 3 | 3 | |
| 4 | -use Jmw\Collection\Lists\Tuple; |
|
| 5 | -use Jmw\Collection\Lists\ArrayList; |
|
| 6 | -/** |
|
| 7 | - * An implementation of a Set using a php array |
|
| 8 | - * It is advisable to use a HashSet in most instances, |
|
| 9 | - * as it is significantly faster |
|
| 10 | - * @author john |
|
| 11 | - * |
|
| 12 | - */ |
|
| 4 | + |
|
| 13 | 5 | class ArraySet extends SetAbstract |
| 14 | 6 | { |
| 15 | 7 | /** |