锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲二区在线视频,欧美sm精品调教视频,亚洲精品国产精品久久清纯直播 http://www.aygfsteel.com/guohua/archive/2009/01/17/251699.html閮叴鍗?/dc:creator>閮叴鍗?/author>Sat, 17 Jan 2009 08:35:00 GMT http://www.aygfsteel.com/guohua/archive/2009/01/17/251699.html http://www.aygfsteel.com/guohua/comments/251699.html http://www.aygfsteel.com/guohua/archive/2009/01/17/251699.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/251699.html http://www.aygfsteel.com/guohua/services/trackbacks/251699.html // 瀹氫箟鐢ㄦ埛鍚嶆牎楠岀殑鏂規(guī)硶
function verify() {
// 棣栧厛嫻嬭瘯涓涓嬮〉闈㈢殑鎸夐挳鎸変笅錛屽彲浠ヨ皟鐢ㄨ繖涓柟娉?/span>
// 浣跨敤javascript鐨刟lert鏂規(guī)硶錛屾樉紺轟竴涓帰鍑烘彁紺烘
// alert("鎸夐挳琚偣鍑諱簡錛侊紒錛?);
// 1.鑾峰彇鏂囨湰妗嗕腑鐨勫唴瀹?/span>
// document.getElementById("userName"); dom鐨勬柟寮?/span>
// Jquery鐨勬煡鎵捐妭鐐圭殑鏂瑰紡錛屽弬鏁頒腑#鍔犱笂id灞炴у煎彲浠ユ壘鍒頒竴涓妭鐐廣?/span>
// jquery鐨勬柟娉曡繑鍥炵殑閮芥槸jquery鐨勫璞★紝鍙互緇х畫鍦ㄤ笂闈㈡墽琛屽叾浠栫殑jquery鏂規(guī)硶
var jqueryObj = $( " #userName " );
// 鑾峰彇鑺傜偣鐨勫?/span>
var userName = jqueryObj.val();
// alert(userName);
// 2.灝嗘枃鏈涓殑鏁版嵁鍙戦佺粰鏈嶅姟鍣ㄦ鐨剆ervelt
// 浣跨敤jquery鐨刋MLHTTPrequest瀵硅薄get璇鋒眰鐨勫皝瑁?/span>
$.get( " AJAXServer?name= " + userName, null ,callback);
}
// 鍥炶皟鍑芥暟
function callback(data) {
// alert("鏈嶅姟鍣ㄦ鐨勬暟鎹洖鏉ヤ簡錛侊紒");
// 3.鎺ユ敹鏈嶅姟鍣ㄧ榪斿洖鐨勬暟鎹?/span>
// alert(data);
// 4.灝嗘湇鍔″櫒孌佃繑鍥炵殑鏁版嵁鍔ㄦ佺殑鏄劇ず鍦ㄩ〉闈笂
// 鎵懼埌淇濆瓨緇撴灉淇℃伅鐨勮妭鐐?/span>
var resultObj = $( " #result " );
// 鍔ㄦ佺殑鏀瑰彉欏甸潰涓璬iv鑺傜偣涓殑鍐呭
resultObj.html(data);
alert( "" );
}
]]> 涓婃搗浜ら氬ぇ瀛ava瑙嗛鏁欑▼鍏?1璁?/title> http://www.aygfsteel.com/guohua/archive/2009/01/12/251027.html閮叴鍗?/dc:creator>閮叴鍗?/author>Mon, 12 Jan 2009 14:17:00 GMT http://www.aygfsteel.com/guohua/archive/2009/01/12/251027.html http://www.aygfsteel.com/guohua/comments/251027.html http://www.aygfsteel.com/guohua/archive/2009/01/12/251027.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/251027.html http://www.aygfsteel.com/guohua/services/trackbacks/251027.html 涓婃搗浜ら氬ぇ瀛ava瑙嗛鏁欑▼鍏?1璁?/a>
If you are interested in java, you can spend time learning about it
]]> *.class 濡備綍鎵撳寘 http://www.aygfsteel.com/guohua/archive/2008/11/13/240205.html閮叴鍗?/dc:creator>閮叴鍗?/author>Thu, 13 Nov 2008 01:12:00 GMT http://www.aygfsteel.com/guohua/archive/2008/11/13/240205.html http://www.aygfsteel.com/guohua/comments/240205.html http://www.aygfsteel.com/guohua/archive/2008/11/13/240205.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/240205.html http://www.aygfsteel.com/guohua/services/trackbacks/240205.html ]]> java涓殑printf http://www.aygfsteel.com/guohua/archive/2008/11/13/240203.html閮叴鍗?/dc:creator>閮叴鍗?/author>Thu, 13 Nov 2008 01:09:00 GMT http://www.aygfsteel.com/guohua/archive/2008/11/13/240203.html http://www.aygfsteel.com/guohua/comments/240203.html http://www.aygfsteel.com/guohua/archive/2008/11/13/240203.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/240203.html http://www.aygfsteel.com/guohua/services/trackbacks/240203.html public class TestPrintf {
public static void main(String args[]) {
System.out.printf( " %+8.3f " , 3.14 );
System.out.println();
System.out.printf( " %+-8.3f\n " , 3.14 );
System.out.printf( " %08.3f\n " , 3.14 );
System.out.printf( " %(8.3f\n " , - 3.14 );
System.out.printf( " %,f\n " , 2356.34 );
System.out.printf( " %x\n " , 0x4a3b );
System.out.printf( " %#x\n " , 0x4a3b );
System.out.println( " ------------ " );
System.out.printf( " 浣犲ソ:%s,%3d宀?宸ヨ祫%-7.2f\n " , " 寮犱笁 " , 38 , 15000.00 );
System.out.printf( " 浣犲ソ:%1$s,%2$3d宀?%2$#x宀乗n " , " 寮犱笁 " , 38 );
System.out.printf( " %3d,%#<x " , 38 );
}
}
]]> java涓殑闆嗗悎 http://www.aygfsteel.com/guohua/archive/2008/11/13/240202.html閮叴鍗?/dc:creator>閮叴鍗?/author>Thu, 13 Nov 2008 01:07:00 GMT http://www.aygfsteel.com/guohua/archive/2008/11/13/240202.html http://www.aygfsteel.com/guohua/comments/240202.html http://www.aygfsteel.com/guohua/archive/2008/11/13/240202.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/240202.html http://www.aygfsteel.com/guohua/services/trackbacks/240202.html 闃呰鍏ㄦ枃 ]]> Arraylist http://www.aygfsteel.com/guohua/archive/2008/11/07/239278.html閮叴鍗?/dc:creator>閮叴鍗?/author>Fri, 07 Nov 2008 08:34:00 GMT http://www.aygfsteel.com/guohua/archive/2008/11/07/239278.html http://www.aygfsteel.com/guohua/comments/239278.html http://www.aygfsteel.com/guohua/archive/2008/11/07/239278.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/239278.html http://www.aygfsteel.com/guohua/services/trackbacks/239278.html
/** */ /**
*銆嫻嬭瘯鏁扮粍鍒楄〃鐨勪嬌鐢?br />
*/
import java.util.ArrayList;
public class ArrayListTest
{
public static void main(String[] args)
{
ArrayList list = new ArrayList();
list.add( new Student( " Tom " , " 20020410 " ));
list.add( new Student( " Jack " , " 20020411 " ));
list.add( new Student( " Rose " , " 20020412 " ));
for ( int i = 0 ; i < list.size(); i ++ )
{
System.out.println((Student)list.get(i));
}
}
}
class Student
{
private String strName = "" ; // 瀛︾敓濮撳悕
private String strNumber = "" ; // 瀛﹀彿
private String strSex = "" ; // 鎬у埆
private String strBirthday = "" ; // 鍑虹敓騫存湀
private String strSpeciality = "" ; // 涓撲笟
private String strAddress = "" ; // 鍦板潃
public Student(String name, String number)
{
strName = name;
strNumber = number;
}
public String getStudentName()
{
return strName;
}
public String getStudentNumber()
{
return strNumber;
}
public void setStudentSex(String sex)
{
strSex = sex;
}
public String getStudentSex()
{
return strSex;
}
public String getStudentBirthday()
{
return strBirthday;
}
public void setStudentBirthday(String birthday)
{
strBirthday = birthday;
}
public String getStudentSpeciality()
{
return strSpeciality;
}
public void setStudentSpeciality(String speciality)
{
strSpeciality = speciality;
}
public String getStudentAddress()
{
return strAddress;
}
public void setStudentAddress(String address)
{
strAddress = address;
}
public String toString()
{
String information = " 瀛︾敓濮撳悕= " + strName + " , 瀛﹀彿= " + strNumber;
if ( ! strSex.equals( "" ) )
information += " , 鎬у埆= " + strSex;
if ( ! strBirthday.equals( "" ))
information += " , 鍑虹敓騫存湀= " + strBirthday;
if ( ! strSpeciality.equals( "" ) )
information += " , 涓撲笟= " + strSpeciality;
if ( ! strAddress.equals( "" ) )
information += " , 綾嶈瘡= " + strAddress;
return information;
}
}
]]>java鐨勫姩鎬佸鎬?/title> http://www.aygfsteel.com/guohua/archive/2008/11/07/239275.html閮叴鍗?/dc:creator>閮叴鍗?/author>Fri, 07 Nov 2008 08:31:00 GMT http://www.aygfsteel.com/guohua/archive/2008/11/07/239275.html http://www.aygfsteel.com/guohua/comments/239275.html http://www.aygfsteel.com/guohua/archive/2008/11/07/239275.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/239275.html http://www.aygfsteel.com/guohua/services/trackbacks/239275.html /** */ /**
* 閫氳繃鏈▼搴忕殑嫻嬭瘯錛屼富瑕佸涔犳娊璞$被鍙婂瓙綾伙紝鎶借薄鏂規(guī)硶鐨勫疄鐜?br />
* 鍔ㄦ佺粦瀹氾紝澶氭?br />
*/
import java.text.NumberFormat;
public class AbstractTest
{
public static void main(String[] args)
{
Person[] p = new Person[ 2 ];
p[ 0 ] = new Worker( " Jack " , 1000 );
p[ 1 ] = new Student( " Tom " , " Computer " );
for ( int i = 0 ; i < p.length; i ++ )
{
Person people = p[i];
System.out.println(people.getDescription());
}
}
}
/** */ /**
* 鎶借薄綾?br />
*/
abstract class Person
{
private String strName;
public Person(String strName)
{
this .strName = strName;
}
public String getName()
{
return strName;
}
// 鎶借薄鏂規(guī)硶錛岃繑鍥炰漢鐨勬弿榪?/span>
public abstract String getDescription();
}
/** */ /**
* 宸ヤ漢綾伙紝鎵╁睍浜嗘娊璞$被錛屽茍瀹炵幇浜嗘娊璞℃柟娉?br />
*/
class Worker extends Person
{
private double salary;
public Worker(String strName, double s)
{
super (strName);
salary = s;
}
public String getDescription()
{
NumberFormat formate = NumberFormat.getCurrencyInstance();
return " the worker with a salary of " + formate.format(salary);
}
}
/** */ /**
* 瀛︾敓綾伙紝鎵╁睍浜嗘娊璞$被錛屽疄鐜頒簡鎶借薄鏂規(guī)硶
*/
class Student extends Person
{
private String strMajor;
public Student(String strName, String strMajor)
{
super (strName);
this .strMajor = strMajor;
}
public String getDescription()
{
return " the student majoring in " + strMajor;
}
}
]]> java涓殑HashMapTest http://www.aygfsteel.com/guohua/archive/2008/11/07/239272.html閮叴鍗?/dc:creator>閮叴鍗?/author>Fri, 07 Nov 2008 08:12:00 GMT http://www.aygfsteel.com/guohua/archive/2008/11/07/239272.html http://www.aygfsteel.com/guohua/comments/239272.html http://www.aygfsteel.com/guohua/archive/2008/11/07/239272.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/239272.html http://www.aygfsteel.com/guohua/services/trackbacks/239272.html 闃呰鍏ㄦ枃 ]]> java涓殑treeset http://www.aygfsteel.com/guohua/archive/2008/11/07/239271.html閮叴鍗?/dc:creator>閮叴鍗?/author>Fri, 07 Nov 2008 08:10:00 GMT http://www.aygfsteel.com/guohua/archive/2008/11/07/239271.html http://www.aygfsteel.com/guohua/comments/239271.html http://www.aygfsteel.com/guohua/archive/2008/11/07/239271.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/239271.html http://www.aygfsteel.com/guohua/services/trackbacks/239271.html /** */ /**
* 閫氳繃榪欎釜紼嬪簭錛屾祴璇曟爲闆嗙殑娣誨姞鍏冪礌鐨勬棤搴忔т笌杈撳嚭鐨勬湁搴忔?br />
*/
import java.util.TreeSet;
import java.util.Iterator;
public class TreeSetTest
{
public static void main(String[] args)
{
TreeSet tree = new TreeSet();
tree.add( " China " );
tree.add( " America " );
tree.add( " Japan " );
tree.add( " Chinese " );
Iterator iter = tree.iterator();
while (iter.hasNext())
{
System.out.println(iter.next());
}
}
}
]]> java涓殑treemap http://www.aygfsteel.com/guohua/archive/2008/11/07/239270.html閮叴鍗?/dc:creator>閮叴鍗?/author>Fri, 07 Nov 2008 08:08:00 GMT http://www.aygfsteel.com/guohua/archive/2008/11/07/239270.html http://www.aygfsteel.com/guohua/comments/239270.html http://www.aygfsteel.com/guohua/archive/2008/11/07/239270.html#Feedback 0 http://www.aygfsteel.com/guohua/comments/commentRss/239270.html http://www.aygfsteel.com/guohua/services/trackbacks/239270.html 闃呰鍏ㄦ枃 ]]>
主站蜘蛛池模板:
赞皇县 |
新龙县 |
永靖县 |
兰溪市 |
马龙县 |
射阳县 |
八宿县 |
都匀市 |
察隅县 |
志丹县 |
石嘴山市 |
河北省 |
莒南县 |
襄城县 |
大田县 |
孝义市 |
芷江 |
清水县 |
兰州市 |
辉县市 |
乐平市 |
调兵山市 |
肥西县 |
庆城县 |
都昌县 |
连南 |
宁化县 |
石屏县 |
淮北市 |
凤冈县 |
拜泉县 |
龙门县 |
太谷县 |
霞浦县 |
石渠县 |
合水县 |
永登县 |
同德县 |
扶风县 |
思茅市 |
岐山县 |