/** * {@inheritdoc} */ public function ceiling($item) { return $this->tree->ceiling($item); }
/** * @expectedException \Novuso\System\Exception\UnderflowException */ public function test_that_ceiling_throws_exception_when_empty() { $tree = new RedBlackSearchTree(new ComparableComparator()); $tree->ceiling(WeekDay::WEDNESDAY()); }
/** * {@inheritdoc} */ public function ceiling($key) { return $this->tree->ceiling($key); }