コード例 #1
0
 /**
  * @expectedException \Novuso\System\Exception\KeyException
  */
 public function test_that_get_throws_exception_for_undefined_key()
 {
     $tree = new RedBlackSearchTree(new ComparableComparator());
     $tree->get(WeekDay::SUNDAY());
 }
コード例 #2
0
ファイル: SortedTable.php プロジェクト: novuso/system
 /**
  * {@inheritdoc}
  */
 public function get($key)
 {
     return $this->tree->get($key);
 }