java¶ÁÎļþ ÂÒÂë
/**
*
*/
package com.dongyun.peas2.system.web.action;
///**
// * @author Administrator
// *
// */
//public class ABcom {
//
// /**
// *
// */
// public ABcom() {
// // TODO Auto-generated constructor stub
// }
//
// /**
// * @param args
// */
// public static void main(String[] args) {
// // TODO Auto-generated method stub
//
// }
//
//}
import java.io.*;
public class ABcom {
//¹¦ÄÜ:¶ÁÈ¡f:/aillo.txtÎļþµÄÄÚÈÝ(Ò»ÐÐÒ»ÐжÁ),²¢½«ÆäÄÚÈÝдÈëf:/jackie.txtÖÐ
//֪ʶµã:java¶ÁÎļþ¡¢Ð´Îļþ---<ÒÔ×Ö·ûÁ÷·½Ê½>
public static void main(String[] args) {
try {
FileInputStream fr = new FileInputStream("e:/question.txt");
BufferedReader br = new BufferedReader( new InputStreamReader(fr, "UTF-8") );// /****×Ö½ÚÁ÷¿ÉÒ԰ѱàÂë½øÐÐÉèÖᣡ£ÎÊÌâ½â¾ö
// FileReader fr = new FileReader("e:/question.txt");//´´½¨FileReader¶ÔÏó£¬ÓÃÀ´¶ÁÈ¡×Ö·ûÁ÷
// BufferedReader br = new BufferedReader(fr); //»º³åÖ¸¶¨ÎļþµÄÊäÈë
FileWriter fw = new FileWriter("e:/jackie.txt");//´´½¨FileWriter¶ÔÏó£¬ÓÃÀ´Ð´Èë×Ö·ûÁ÷
BufferedWriter bw = new BufferedWriter(fw); //½«»º³å¶ÔÎļþµÄÊä³ö
String myreadline; //¶¨ÒåÒ»¸öStringÀàÐ͵ıäÁ¿,ÓÃÀ´Ã¿´Î¶ÁȡһÐÐ
while (br.ready()) {
myreadline = br.readLine();//¶ÁȡһÐÐ
Ïà¹ØÎĵµ£º
±¾ÎĽéÉÜJava SwingÖеÄJTreeÄ£ÐÍ£¬½éÉÜÈçºÎ´´½¨¡¢Ð޸ġ¢±éÀú£¬ÉèÖÃÊ÷¡£²Î¿¼Core Java2Ïà¹ØÕ½ڼ°ÆäÔ´´úÂë¡£
SwingÊ÷ʹÓÃÈËÃÇËùÊìϤµÄÎļþ¼ÐºÍÊ÷ҶͼÀ´ÏÔʾ·Ö²ãµÄÊý¾Ý¡£Ê÷Óɽڵã×é³É£¬½Úµã¿ÉÒÔÊÇÎļþ¼Ð£¬Ò²¿ÉÒÔÊÇÊ÷Ò¶¡£Îļþ¼Ð¿ÉÒÔÓÐ×ӽڵ㣬³ý¸ù½ÚµãÖ®ÍâµÄËùÓнڵ㶼ֻÓÐÒ»¸ö¸¸½Úµã¡£¿ÕµÄÎļþ¼ÐÓëÊ÷Ò¶µÄ²»Í¬Ö®´¦¾ÍÔÚÓÚËüÔÊ ......
BufferedReader:
Read text from a character-input
stream, buffering characters so as to provide for the
efficient reading of characters, arrays, and ......
ÔÚÉÏÒ»¸öÎÄÕÂÀï,ÎÒÃǰÑÏîÄ¿½¨ºÃÁË,²¢ÇÒÒѾ³É¹¦ÔËÐÐ,ÏÖÔÚÀ´Àí½âÏÂzkʼþÇý¶¯(event-driven)µÄ£¬»ùÓÚ×é¼þ(component-based)µÄÌØµã
ÏÈÀ´µãÀíÂÛ,ʲô½Ð×ö»ùÓÚ×é¼þ,ά»ù°Ù¿ÆÀïÃæÕâôÃèÊöµÄ:»ùÓÚ×é¼þµÄÈí¼þ¹¤³Ì£¨Component-based software engineering£¬¼ò³ÆCBSE£©»ò»ùÓÚ×é¼þµÄ¿ª·¢£¨Component-Based Development£¬¼ò³ÆCBD£©ÊÇÒ ......
½ñÌì³é¿ÕÏÂÁË¡¶java½â»ó¡·Õâ±¾Êé¿´ÁËһϣ¬È·Êµ²»´í£¬Ìá³öÁ˺ܶàÎÒÃÇÆ½Ê±²»»á×¢ÒâµÄСÎÊÌâ¡£ÏëÏëÈç¹û²»×¢Òâ˵²»¶¨»áÒòΪһ¸öBUGÓôÃÆ¸öÒ»Á½ÌìÒ²ÕÒ²»µ½¡£ÒÔÏÂÊÇ×ܽáµÄ±Ê¼Ç£¬±¸Íü~~
1.ÅÐ¶ÏÆæÊý
i % 2 == 1 ÔÚi Ϊ¸ºÊýʱ½á¹ûΪ-1£¬ËùÒÔʹÓÃi % 2 != 0À´Åжϣ»µ±ÓÐÐÔÄÜÒªÇóʱʹÓà (i & 1) != 0¡£
*ÔÚʹÓÃ%ʱһ¶¨Òª¿¼Âǵ½² ......
À´Ô´Êý×Ö³ö°æÔÚÏßhttp://www.epuber.com/?p=2732
¾ÍËãÄãûÌý˵¹ýSkype,Ò²¿Ï¶¨»á¶Ô»¥ÁªÍøµÄµÍ×Ê·Ñͨ»°¸ÐÐËȤ,½üÈÕ,SkypeΪ¹È¸èµÄAndroidƽ̨ÒÔ¼°´óÁ¿»ùÓÚJavaµÄÊÖ»úƽ̨ºÍÒÆ¶¯»¥ÁªÍøÉ豸(MID)ƽ̨·¢²¼ÐµIJâÊÔ°æVIPµç»°Èí¼þ¡£
Ò»Ö±ÒÔÀ´,¹úÄÚµçÐÅÔËÓªÉÌÊÓSkypeΪºéË®ÃÍÊÞ,ÒòΪÕâÖÖ»ùÓÚ»¥ÁªÍøµÄͨÐÅ·½Ê½ÈÃÔËÓªÉÌÎÞÀû¿Éͼ,È» ......