Re: [問題] 字串比較的問題

看板java作者 (骨頭)時間19年前 (2007/02/17 20:19), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/8 (看更多)
有個用空間換取時間的方法, 用String 作hash建表。 再直接對HASH後的內容處理:P 這個問題讓我想到State Pattern 不過要用在指令判定上 這可能不太適用..;p -- String temp="relax"; | Life just like programing while(buringlife) String.forgot(temp); | to be right or wrong while(sleeping) brain.setMemoryOut(); | need not to say stack.push(life.running); | the complier will stack.push(scouting.buck()); | answer your life stack.push(bowling.practice()); | Bone everything -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.171.121.11
文章代碼(AID): #15rlAz3J (java)
討論串 (同標題文章)
文章代碼(AID): #15rlAz3J (java)