/** * 指定されたキーのインデックスを返します. * @param string $key * @return int */ private function getIndexOf($key) { $hash = $this->equator->hashCode($key); return $this->capacity - 1 & $hash; }