¾ÛÅøÁî
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°Ç
   
°£´ÜÇÏ°Ô Æнº¿öµå¿¡ ¼ýÀÚ°¡ È¥¿ëµÇ¾ú´ÂÁö ó¸®ÇÒ ¼ö ÀÖ´Â ¸Þ¼ÒµåÀÔ´Ï´Ù.
±Û¾´ÀÌ : ±èº´ÁÖ                   ³¯Â¥ : 2013-01-31 (¸ñ) 13:46 Á¶È¸ : 6668

public boolean returnStringState(String string)

{

boolean result = true;

String bb = "";

int NumberCount = 0;

int StringCount = 0;

int NumberArray[] = {48,49,50,51,52,53,54,55,56,57};

for(int a =0; a<string.length(); a++)

{

for(int j =0; j<10; j++)

{

if(string.codePointAt(a)==NumberArray[j])

{

NumberCount+=1;

}else

{

StringCount+=1;

}

}

}

if(NumberCount>1 && ((StringCount-10)/10)>5 )

{

result = true;

}else

{

result = false;

}

// Log.d("deletefile", ""+NumberCount+","+(StringCount));

return result;

}

Ư¹®ÀÌ ¾²¿´´ÂÁö, ȤÀº ¿µ¹®ÀÎÁö ¾Ë±â À§Çؼ­´Â À§ÀÇ 

int NumberArray[] = {48,49,50,51,52,53,54,55,56,57};

ó·³ À¯´ÏÄڵ尪À» ¹è¿­·Î ÀúÀåÇÏ¿© ½ºÆ®¸µ Çϳª¾¿ ºñ±³Çغ¸½Ã¸é µË´Ï´Ù.

Âü°í·Î string.codePointAt(a)<-´Â À¯´ÏÄڵ带 ¾ò¾î¿À´Â°ÍÀε¥, 48(0) ºÎÅͽÃÀÛÇؼ­ 57(9)±îÁö ÀÔ´Ï´Ù.


Ư¼ö¹®ÀÚó¸® °°Àº°ÍÀº »ó´çÈ÷ ¸¹Àº¾çÀÇ µ¥ÀÌÅ͸¦ ºñ±³Çϱ⠶§¹®¿¡ µÇµµ·ÏÀ̸é 󸮸¦ ¾ÈÇÏ½Ã´Â°Ô ÁÁ°í,

°¡ÀåÁÁÀº°ÍÀº ½ºÆ®¸µÀÌ ¿µ¾îÀÎÁö, ¼ýÀÚÀÎÁö¸¸ ±¸º°ÇØµÎ´Â°Ô ÁÁÀº°Å °°½À´Ï´Ù.


(·±Å¸ÀÓºñ±³½Ã°£Àº ±×´ÙÁö ±æÁö ¾Ê½À´Ï´Ù. ½Ã°£ º¹Àâµµ´Â O(10*log^n) ÀÔ´Ï´Ù.)

* ±ÛÀ» µî·ÏÇϽǶ§ ²À ÇÊ¿äÇÑ °æ¿ì°¡ ¾Æ´Ï¸é °³ÀÎÁ¤º¸¸¦ ³²±âÁö ¸¶¼¼¿ä ^^ (¿¬¶ôó,À̸ÞÀÏÁÖ¼Ò,Áֹεî·Ï¹øÈ£ µî)




±èº´ÁÖ ´ÔÀÇ Tip&Tech ÃÖ½Å±Û [´õº¸±â]


   

°Ô½Ã¹° 88°Ç
¹øÈ£ Á¦¸ñ ±Û¾´ÀÌ ³¯Â¥ Á¶È¸
88  <Ŭ¶ó¿ìµåÇõ½Å¼¾ÅÍ> 12¿ù 1ÀÏ SW ½ºÅ¸Æ®¾÷ â¾÷ ¼º°ø Àü·« ¼¼¹Ì³ª Âü¼® ¿äû Áظð 11-30 4096
87  <Ŭ¶ó¿ìµåÇõ½Å¼¾ÅÍ> 12¿ù 1ÀÏ SW ½ºÅ¸Æ®¾÷ â¾÷ ¼º°ø Àü·« ¼¼¹Ì³ª Áظð 11-23 3952
86  °³Àΰ³¹ßÀÚ SW°³¹ßȯ°æ Áö¿ø»ç¾÷ ¾È³» Áظð 10-28 4241
85  ¸Æ¿¡¼­ ±¸±Û API key µî·Ï¹æ¹ý ¼º±âµ¿ 08-29 4606
84  [Agate Mobile] ¾Û ¼³Ä¡ ¾øÀÌ ¼­¹ö·ÎºÎÅÍ ½Ç½Ã°£ ·Îµù µÇ¾î µ¿ÀÛÇÏ´Â Cloud Native App ÇÁ·¹ÀÓ¿öÅ©ÀÔ´Ï´Ù. ¾¾Æ®¸°°³¹ß¡¦ 07-21 7882
83     [Agate Mobile] ¾Û ¼³Ä¡ ¾øÀÌ ¼­¹ö·ÎºÎÅÍ ½Ç½Ã°£ ·Îµù µÇ¾î µ¿ÀÛÇÏ´Â Cloud Native App ÇÁ·¹ÀÓ¿öÅ©ÀÔ´Ï´Ù. ±èÀºÈ£ 08-21 12278
82  ÀÚ¹Ù Ãʺ¸µé¿¡°Ô ÃßõÇÏ´Â ±âÃÊ °³³äÀ» ÀâÀ» ¼ö Àִ åµé ÀÌ°æ¿ë 06-19 5941
81  [ÆÁ] °¶·°½Ã ³ëÆ®3 °³¹ßÀÚ ¿É¼Ç ¸Þ´º ã±â ^^ ÀÌ°æ¿ë 11-09 9884
80  ¾ÛÅÛÇø´À» Á¦°øÇÏ´Â »çÀÌÆ® ¼Ò°³ÇÕ´Ï´Ù. ¾¾Æ®¸°°³¹ß¡¦ 08-21 12452
79  The content of the adapter has changed but ListView ... ¿¡·¯ ÀϹÝÀû ÇØ°á¹ý. ±èº´ÁÖ 04-16 15616
78  °£´ÜÇÏ°Ô Æнº¿öµå¿¡ ¼ýÀÚ°¡ È¥¿ëµÇ¾ú´ÂÁö ó¸®ÇÒ ¼ö ÀÖ´Â ¸Þ¼ÒµåÀÔ´Ï´Ù. ±èº´ÁÖ 01-31 6669
77  handler¸¦ ÀÌ¿ëÇØ °¡º¯½Ã°£ ¹Ýº¹ ÀÛ¾÷Çϱâ. ±èº´ÁÖ 11-26 8615
76  String -> HEX ±èº´ÁÖ 11-12 6020
75  ¸®½ºÆ® ÀÛ¾÷½Ã¿¡ ±âº»ÀûÀ¸·Î ¾Ë¾ÆµÎ¼Å¾ß µÉÁ¡. +1 ±èº´ÁÖ 10-08 7090
74  xml Á÷·Äó¸® °í¹ü¼® 09-24 4541
73  ÁÖ¼Ò·Ï Ãß°¡/»èÁ¦ °¨ÁöÇؼ­ ¾ÛÀÇ dbÃß°¡/»èÁ¦Çϱâ. ±èº´ÁÖ 09-24 12689
72  È®À帮½ºÆ®°¡ 3µª½º ÀÌ»óÀÌ µÉ±î? ¾ÈµÉ±î? +1 ±èº´ÁÖ 08-21 10361
71  ZXing ¹ÙÄÚµå ½ºÄµºÎºÐ Å©±â Á¶ÀýÇϱâ. ±èº´ÁÖ 08-06 14925
70  ÀÌŬ¸³½º¿¡¼­ ·¹À̾ƿô xml ±×·¡ÇȺκÐÀÌ °©Àڱ⠾Ⱥ¸ÀÏ°æ¿ì. +1 ±èº´ÁÖ 07-27 6657
69  °£¸¸¿¡ ±Û¾²³×¿ä À̹ø¿£ launcherShortCut (¹Ù·Î°¡±â ¾ÆÀÌÄÜ)ÀÔ´Ï´Ù. ±èº´ÁÖ 07-25 12246
 1  2  3  4  5  
 
 
 
Copyright ¨Ï wwwold.androidstudy.co.kr. All rights reserved.