锘??xml version="1.0" encoding="utf-8" standalone="yes"?>超碰aⅴ人人做人人爽欧美,四虎影院在线域名免费观看,成年网站在线 http://www.aygfsteel.com/hjh132/category/29521.htmlIf a thing is worth doing it is worth doing well. zh-cn Tue, 26 Feb 2008 16:47:12 GMT Tue, 26 Feb 2008 16:47:12 GMT 60 鏁板瓧杞寲鎴愪腑鏂?/title> http://www.aygfsteel.com/hjh132/archive/2008/02/26/182215.html101鈩冨お闃?/dc:creator>101鈩冨お闃?/author>Tue, 26 Feb 2008 06:18:00 GMT http://www.aygfsteel.com/hjh132/archive/2008/02/26/182215.html http://www.aygfsteel.com/hjh132/comments/182215.html http://www.aygfsteel.com/hjh132/archive/2008/02/26/182215.html#Feedback 0 http://www.aygfsteel.com/hjh132/comments/commentRss/182215.html http://www.aygfsteel.com/hjh132/services/trackbacks/182215.html 闃呰鍏ㄦ枃 ]]> java鎵撳嵃鍏ㄦ帓鍒?/title> http://www.aygfsteel.com/hjh132/archive/2008/02/22/181284.html101鈩冨お闃?/dc:creator>101鈩冨お闃?/author>Fri, 22 Feb 2008 02:26:00 GMT http://www.aygfsteel.com/hjh132/archive/2008/02/22/181284.html http://www.aygfsteel.com/hjh132/comments/181284.html http://www.aygfsteel.com/hjh132/archive/2008/02/22/181284.html#Feedback 0 http://www.aygfsteel.com/hjh132/comments/commentRss/181284.html http://www.aygfsteel.com/hjh132/services/trackbacks/181284.html public static void permute ( char [] str, int low, int high)
{
if (low > high)
{
System.out.print(str);
System.out.print( " " );
}
else
{
for ( int i = low; i <= high; i ++ )
{
char [] temp = str.clone(); // temp will be str
temp[i] = str[low]; // with i and low
temp[low] = str[i]; // swapped
permute(temp,low + 1 ,high);
}
}
}
]]> java浜ゆ崲鏁版嵁 http://www.aygfsteel.com/hjh132/archive/2008/02/19/180761.html101鈩冨お闃?/dc:creator>101鈩冨お闃?/author>Tue, 19 Feb 2008 15:43:00 GMT http://www.aygfsteel.com/hjh132/archive/2008/02/19/180761.html http://www.aygfsteel.com/hjh132/comments/180761.html http://www.aygfsteel.com/hjh132/archive/2008/02/19/180761.html#Feedback 0 http://www.aygfsteel.com/hjh132/comments/commentRss/180761.html http://www.aygfsteel.com/hjh132/services/trackbacks/180761.html /** */ /**
* 浜ゆ崲涓や釜鏁版嵁錛屽彲鐢ㄦ暟緇勬垨class
* @author HJH
* @version 1.0錛?2/19/2008
*/
public class Swap
{
private String s1 = null ;
private String s2 = null ;
private StringBuffer s3 = null ;
private StringBuffer s4 = null ;
public Swap(String s1,String s2,StringBuffer s3,StringBuffer s4)
{
this .s1 = s1;
this .s2 = s2;
this .s3 = s3;
this .s4 = s4;
}
public void swapString(String str1,String str2)
{
s1 = str2;
s2 = str1;
}
public void swapStringBuffer(StringBuffer str3,StringBuffer str4)
{
s3 = str4;
s4 = str3;
}
public static void main (String[] args)
{
String str1 = " 123 " ;
String str2 = " 456 " ;
StringBuffer str3 = new StringBuffer( " 159 " );
StringBuffer str4 = new StringBuffer( " 357 " );
Swap swap = new Swap(str1,str2,str3,str4);
System.out.println( " 浜ゆ崲鍓?img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /> " );
System.out.println(swap.s1 + " " + swap.s2 + " " + swap.s3 + " " + swap.s4);
swap.swapString(swap.s1,swap.s2);
swap.swapStringBuffer(swap.s3,swap.s4);
System.out.println( " 浜ゆ崲鍚?img src="http://www.aygfsteel.com/Images/dot.gif" alt="" /> " );
System.out.println(swap.s1 + " " + swap.s2 + " " + swap.s3 + " " + swap.s4);
}
}
]]>
主站蜘蛛池模板:
浑源县 |
柘荣县 |
孝义市 |
江永县 |
行唐县 |
隆德县 |
江油市 |
克东县 |
祁东县 |
南部县 |
小金县 |
彰化市 |
航空 |
凯里市 |
密云县 |
寻甸 |
内江市 |
陆丰市 |
霍山县 |
罗江县 |
开原市 |
天柱县 |
东海县 |
阆中市 |
刚察县 |
深泽县 |
呼图壁县 |
江津市 |
尖扎县 |
遵化市 |
元氏县 |
密山市 |
绍兴县 |
公安县 |
祁阳县 |
当雄县 |
遂宁市 |
永安市 |
佛坪县 |
宁河县 |
清水河县 |