cozylife/hackfastalgos

View on GitHub
lib/datastructure/set.php

Summary

Maintainability
A
0 mins
Test Coverage
<?HH
/**
 * Hack Fast Algos
 *
 * Implementation of a set
 */

namespace HackFastAlgos\DataStructure;

class Set extends HashTableOA implements \Iterator, \Countable
{
    public function insert<T>(T $item, T $itemOverride = 0)
    {
        parent::insert($item, $item);
    }
}