: 如果是這樣的話
: 只要在
: //initialize search algorithm (set default algorithm to BubbleSort)
: if...
: else if... (因為不確定對不對,還是別po出來獻醜:p)
: else if...
: else if...
: 設定四種情況~~
我找好久才找到是該改這邊=.=
不過我還是不知道
if後面要接的是什麼
if (???)
{
algo = new BubbleSortAlgorithm();
algo.setParent(this);
}
我想了好久......"
還是不知道
我觀念太薄弱了啦......"
--
※ 發信站: 批踢踢實業坊(ptt.csie.ntu.edu.tw)
◆ From: 211.74.129.95