¾ÛÅøÁî
46.¢½.168.138
46.¢½.168.129
46.¢½.168.161
46.¢½.168.136
46.¢½.168.145
46.¢½.168.162
46.¢½.168.144
46.¢½.168.140
115.¢½.135.198
46.¢½.168.139
 
°Ô½Ã¹° 88°Ç
   
arraylist Áߺ¹µ¥ÀÌÅÍ Á¦°Å
±Û¾´ÀÌ : ÀÌ°æ¿ë                   ³¯Â¥ : 2010-10-05 (È­) 18:30 Á¶È¸ : 9286
ArrayList<Object> lst = new ArrayList<Object>(); 
ArrayList<Object> result = new ArrayList<Object>(); 

for (int i=0; i< count; i++){ 
lst.add(session.getAttribute("keywords"+i)); 

HashSet<Object> hs = new HashSet<Object>(lst); 
Iterator it = hs.iterator(); 
while(it.hasNext()){ 
result.add(it.next()); 
sum_count++;
* ±ÛÀ» µî·ÏÇϽǶ§ ²À ÇÊ¿äÇÑ °æ¿ì°¡ ¾Æ´Ï¸é °³ÀÎÁ¤º¸¸¦ ³²±âÁö ¸¶¼¼¿ä ^^ (¿¬¶ôó,À̸ÞÀÏÁÖ¼Ò,Áֹεî·Ï¹øÈ£ µî)




ÀÌ°æ¿ë ´ÔÀÇ Tip&Tech ÃÖ½Å±Û [´õº¸±â]


 
±è±â¹ü 2010-10-13 (¼ö) 13:52
ArrayList<Object> ¿©±â¼­ Object ÀÌ°Ç ¹» ¸»Çϴ°ǰ¡¿ä? º¸ÅëÀº ArrayList<int ¶Ç´Â String ¶Ç´Â ±¸Á¶Ã¼Çü Ŭ·¡½º?> ÀÌ·¸°Ô ¾²´Â°Ç ºÃ´Âµ¥ object´Â Àß ¸ð¸£°Ú¾î¿ä ^^;;
 
ÀÌ°æ¿ë 2010-10-13 (¼ö) 18:45
Á¦°¡ Æۿ±ÛÀ̱ä ÇÏÁö¸¸ ÀÛ¼ºÀÚ°¡ ¸»ÇÏ´Â Object¶õ ±â¹ü´ÔÀÌ »ý°¢ÇÏ´Â °Íó·³ int ¶Ç´Â String °¡¸®Å°´Â ÀǹÌÀεí ÇÕ´Ï´Ù.
ÀÏ´Ü ArrayList ¿¡ ´ëÇØ Ã£¾Æº¸´Ï ´ÙÀ½°ú °°Àº ±ÛÀÌ ÀÖ´õ±º¿ä.
http://download.oracle.com/javase/1.4.2/docs/api/java/util/ArrayList.html
ÇØ´ç ¹®¼­ ÂüÁ¶ Çغ¸¼¼¿ä ^^
 
Á¤Çöö 2010-10-26 (È­) 13:38
Object¶õ ÃÖ»óÀ§ ·çÆ® Ŭ·¡½º·Î ¾Ë°í ÀÖ½À´Ï´Ù.
±×·¡¼­ ¸ðµç Ŭ·¡½ºµéÀº Object·Î ºÎÅÍ ÆÄ»ýµÇ¾î ÀÖ´Ù°í ÇÒ ¼ö Àִµ¥¿ä.
Object´ë½Å int, float, String, »ç¿ëÀÚÁ¤ÀÇ classµîÀ¸·Î »ç¿ëÇÏ½Ã¸é µË´Ï´Ù.
ArrayList<>ÀÇ °æ¿ì C++¿¡¼­ STLÀÇ List¶û °°Àº°É·Î ¾Ë°í ÀÖ½À´Ï´Ù¸¸ »ç¿ë¸¸ Çغ¸°í ÀÌ·ÐÀûÀ¸·Ð ±î¸Ô¾î ¹ö·È³×¿ä ¤»¤»
 
ÀÌ°æ¿ë 2010-10-26 (È­) 13:44
¿ª½Ã ½Ç¹«¿¡ Á¢ÇÏ´Â ºÐÀ̶ó ´äº¯µµ ¸íÈ®ÇÏ°Ô ÇØÁֽô±º¿ä.
   

°Ô½Ã¹° 88°Ç
¹øÈ£ Á¦¸ñ ±Û¾´ÀÌ ³¯Â¥ Á¶È¸
8  °­ÀÇ 1ÀÏ pdf +1 ±è±â¹ü 12-23 4057
7  ¾îÇà Á¾·ù ±¸ºÐ ¹× Àå´ÜÁ¡ +6 ±è±â¹ü 12-23 4378
6  JRE ½Ã½ºÅÛ ¶óÀ̹ö·¯¸® °ü·Ã ¿À·ù ó¸® +1 ÀÌ°æ¿ë 12-11 9508
5  [±âÃÊ] HelloWorld ¸¸µé±â µ¿¿µ»ó +3 ÀÌ°æ¿ë 12-01 4561
4  ÇÑ´«¿¡ º¸´Â ¾Èµå·ÎÀÌµå ½º¸¶Æ®Æù ½ºÆå°ú µð½ºÇ÷¹ÀÌ »çÀÌÁî ºñ±³ +2 Á¤Çöö 11-18 4748
3  ¾Èµå·ÎÀÌµå ¾Û¿¡ ±¸±Û ¾Öµå¼¾½º ±¤°í Àû¿ëÇϱâ ÀÌ°æ¿ë 10-19 8111
2  arraylist Áߺ¹µ¥ÀÌÅÍ Á¦°Å +4 ÀÌ°æ¿ë 10-05 9287
1  xml ÆÄ½Ì +3 ÀÌ°æ¿ë 10-05 7983
 1  2  3  4  5
 
 
 
Copyright ¨Ï wwwold.androidstudy.co.kr. All rights reserved.