JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java 新手區  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to postflat modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Re:String物件如何排序? [Re:dick0101]
honeyaaa





發文: 159
積分: 0
於 2008-04-08 00:47 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
dick0101 wrote:
但我有多過一個String..我試過用Collections.sort()解決問題,但因為第1個String和第2個是相應的,即是當String A次序改變,String B也要跟著變。我現無法解決問題......例

String A[] = { DEF,ABC,GHI };
String B[] = { 34, 40, 81 };
我想的結果係:
ABC 40
DEF 34
GHI 81


可否用二維陣列?


reply to postreply to post
努力,是成功唯一的途徑。
話題樹型展開
人氣 標題 作者 字數 發文時間
7017 String物件如何排序? dick0101 338 2008-04-07 22:29
5439 Re:String物件如何排序? drinkin 74 2008-04-07 22:55
5409 Re:String物件如何排序? dick0101 204 2008-04-08 00:08
5389 Re:String物件如何排序? honeyaaa 259 2008-04-08 00:47
6634 Re:String物件如何排序? HawaiiALOHA 611 2008-04-08 02:01
5261 Re:String物件如何排序? dick0101 875 2008-04-08 11:36
5216 Re:String物件如何排序? mg622000 292 2008-04-08 12:15
5322 Re:String物件如何排序? bbbr 1855 2008-04-08 12:27
5208 Re:String物件如何排序? cjack 232 2008-04-08 13:32
5090 Re:String物件如何排序? hkdennis2k 104 2008-04-08 20:20
5022 Re:String物件如何排序? cjack 104 2008-04-09 17:16
5020 Re:String物件如何排序? honeyaaa 125 2008-04-09 21:41
4976 Re:String物件如何排序? mg622000 196 2008-04-09 21:50
4976 Re:String物件如何排序? dick0101 196 2008-04-10 00:06
4883 Re:String物件如何排序? dick0101 37 2008-04-10 21:05
4852 Re:String物件如何排序? dick0101 223 2008-04-12 00:13
4999 Re:String物件如何排序? drinkin 2300 2008-04-12 11:09
4757 Re:String物件如何排序? dick0101 2168 2008-04-12 15:21
4750 Re:String物件如何排序? hkdennis2k 116 2008-04-12 15:45
4709 Re:String物件如何排序? dick0101 186 2008-04-13 00:19
4702 Re:String物件如何排序? hkdennis2k 102 2008-04-13 02:18
4743 Re:String物件如何排序? JiaYun 175 2008-04-13 02:55
» JWorld@TW »  Java 新手區

reply to postflat modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8