예제 #1
0
파일: HashMap.php 프로젝트: trashtoy/peach2
 /**
  * 指定されたキーのインデックスを返します.
  * @param  string $key
  * @return int
  */
 private function getIndexOf($key)
 {
     $hash = $this->equator->hashCode($key);
     return $this->capacity - 1 & $hash;
 }