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