亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? basicio.java

?? 集成了JAVA中基本輸入輸出程序
?? JAVA
字號:
package javalancs ;import java.io.* ;/** * simple methods for basic input/output (Java 1.1) * @author Roger Garside * @version Last Rewritten: 16/Sept/97 */public class BasicIo    {     /**     * output a prompt message to the screen     * @param prompt message     */    public static void prompt(String s)	{	System.err.print(s) ;	System.err.flush() ;	} // end of method prompt    /**     * read the next line from the keyboard as a String     * @return the line as a String     */    public static String readString() throws IOException        {	BufferedReader stdin = new BufferedReader(new					InputStreamReader(System.in)) ;        return stdin.readLine() ;        } // end of method readString    /**     * read a character, the first on the line     * @return the first character on the line     */    public static char readCharacter() throws IOException        {	BufferedReader in = new BufferedReader(new					InputStreamReader(System.in)) ;        String s = in.readLine() ;	if (s.length() == 0)            return ' ' ;        else	    return s.charAt(0) ;        } // end of method readCharacter    /**     * read the next line from the keyboard as an integer     * @return the line as an integer     */    public static int readInteger() throws IOException        {        String line ;	BufferedReader in = new BufferedReader(new					InputStreamReader(System.in)) ;        try            {            line = in.readLine() ;            int i = Integer.parseInt(line.trim()) ;            return i ;            }        catch (Exception e)            {            throw new IOException("invalid integer") ;            }        } // end of method readInteger    /**     * read the next line from the keyboard as a float     * @return the line as a float     */    public static float readFloat() throws IOException        {        String line ;	BufferedReader in = new BufferedReader(new					InputStreamReader(System.in)) ;        try            {            line = in.readLine() ;            return Float.valueOf(line.trim()).floatValue() ;            }        catch (Exception e)            {            throw new IOException("invalid float") ;            }        } // end of method readFloat    /**     * read the next line from the keyboard as a double     * @return the line as a double     */    public static double readDouble() throws IOException        {        String line ;	BufferedReader in = new BufferedReader(new					InputStreamReader(System.in)) ;        try            {            line = in.readLine() ;            return Double.valueOf(line.trim()).doubleValue() ;            }        catch (Exception e)            {            throw new IOException("invalid double") ;            }        } // end of method readDouble    /**     * output an integer in a field of a specified width     * @param n the integer to be output     * @param w the width of the field     */    public static void writeInteger(int n, int w)        {        Integer n1 = new Integer(n) ;        String t = n1.toString() ;        if (t.length() > w)            System.out.print(t) ;        else            {            for (int i = 0 ; i < w - t.length() ; i++)                System.out.print(' ') ;            System.out.print(t) ;            }        } // end of method writeInteger    /**     * output a float in a field of a specified width     * @param n the float to be output     * @param w the width of the field     * @param d the number of decimal places     */    public static void writeFloat(float n, int w, int d) throws IOException	{	Float n1 = new Float(n) ;	String t = n1.toString() ;	//System.err.println("string is **" + t + "**") ;	if (t.indexOf('e') != -1)	    throw new IOException("out of range") ;        if (d < 1)	    throw new IOException("invalid 3rd argument") ;	boolean negative = false ;	if (t.charAt(0) == '-')	    {	    negative = true ;	    t = t.substring(1) ;	    }	int index = t.indexOf('.') ;	int decimals ;	if (index == -1)	    decimals = 0 ;	else	    {	    decimals = t.length() - index - 1 ;            if (decimals <= 0)		throw new IOException("funny format") ;	    }	if (decimals < d)	    {	    if (decimals == 0)		t += '.' ;	    for (int i = 0 ; i < d - decimals ; i++)		t += '0' ;	    }	else if (decimals > d)	    {	    int offset = t.length() - decimals + d ;	    if (t.charAt(offset) < '5')		t = t.substring(0, t.length() - decimals + d) ;	    else		{		StringBuffer sb = new StringBuffer(t) ;		offset-- ;		while ((offset >= 0) &&		       ((sb.charAt(offset) == '9') ||		        (sb.charAt(offset) == '.')))		    {		    if (sb.charAt(offset) == '9')		        sb.setCharAt(offset, '0') ;		    offset-- ;		    }		if (offset >= 0)		    {		    sb.setCharAt(offset,	Character.forDigit(Character.digit(sb.charAt(offset), 10) + 1, 10)) ;	t = sb.toString().substring(0, t.length() - decimals + d) ;		    }		else	t = '1' + sb.toString().substring(0, t.length() - decimals + d) ;		}	    }	if (negative)	    t = '-' + t ;	if (t.length() > w)	    System.out.print(t) ;	else	    {	    for (int i = 0 ; i < w - t.length() ; i++)		System.out.print(' ') ;	    System.out.print(t) ;	    }	} // end of method writeFloat    /**     * output a double in a field of a specified width     * @param n the double to be output     * @param w the width of the field     * @param d the number of decimal places     */    public static void writeDouble(double n, int w, int d) throws IOException	{	Double n1 = new Double(n) ;	String t = n1.toString() ;	//System.err.println("string is **" + t + "**") ;	if (t.indexOf('e') != -1)	    throw new IOException("out of range") ;        if (d < 1)	    throw new IOException("invalid 3rd argument") ;	boolean negative = false ;	if (t.charAt(0) == '-')	    {	    negative = true ;	    t = t.substring(1) ;	    }	int index = t.indexOf('.') ;	int decimals ;	if (index == -1)	    decimals = 0 ;	else	    {	    decimals = t.length() - index - 1 ;            if (decimals <= 0)		throw new IOException("funny format") ;	    }	if (decimals < d)	    {	    if (decimals == 0)		t += '.' ;	    for (int i = 0 ; i < d - decimals ; i++)		t += '0' ;	    }	else if (decimals > d)	    {	    int offset = t.length() - decimals + d ;	    if (t.charAt(offset) < '5')		t = t.substring(0, t.length() - decimals + d) ;	    else		{		StringBuffer sb = new StringBuffer(t) ;		offset-- ;		while ((offset >= 0) &&		       ((sb.charAt(offset) == '9') ||		        (sb.charAt(offset) == '.')))		    {		    if (sb.charAt(offset) == '9')		        sb.setCharAt(offset, '0') ;		    offset-- ;		    }		if (offset >= 0)		    {		    sb.setCharAt(offset,	Character.forDigit(Character.digit(sb.charAt(offset), 10) + 1, 10)) ;	t = sb.toString().substring(0, t.length() - decimals + d) ;		    }		else	t = '1' + sb.toString().substring(0, t.length() - decimals + d) ;		}	    }	if (negative)	    t = '-' + t ;	if (t.length() > w)	    System.out.print(t) ;	else	    {	    for (int i = 0 ; i < w - t.length() ; i++)		System.out.print(' ') ;	    System.out.print(t) ;	    }	} // end of method writeDouble    } // end of class BasicIo  

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产色产综合产在线视频| 日本久久电影网| 日本在线观看不卡视频| 一区二区三区产品免费精品久久75| 久久久久久久精| 亚洲精品一区二区三区99| 日韩免费一区二区三区在线播放| 欧美一区二区日韩| 日韩一区二区在线看| 精品欧美久久久| 国产日产欧美精品一区二区三区| 国产精品国模大尺度视频| 久久精品夜色噜噜亚洲a∨| 国产亚洲综合在线| 亚洲日本电影在线| 亚洲一卡二卡三卡四卡无卡久久 | 18成人在线视频| 亚洲欧美日韩国产一区二区三区 | 日韩欧美国产精品一区| 精品欧美久久久| 国产精品三级电影| 亚洲影院久久精品| 激情小说亚洲一区| 国产999精品久久久久久| 色综合天天综合| 7777精品伊人久久久大香线蕉完整版 | 大美女一区二区三区| 91小视频免费观看| 欧美福利视频导航| 国产日本欧洲亚洲| 一级中文字幕一区二区| 久久国产精品第一页| 免费av成人在线| 成a人片国产精品| 制服丝袜中文字幕一区| 中国av一区二区三区| 五月天激情综合| 不卡视频在线观看| 欧美一区二区三区精品| 国产精品久久久久久久裸模| 日本欧美加勒比视频| www.日韩在线| 亚洲精品一区二区三区四区高清| 亚洲精品伦理在线| 国产一区二区三区四区五区美女| 在线观看国产91| 国产欧美精品区一区二区三区| 亚洲成av人片在www色猫咪| 麻豆91在线播放| 欧美色图在线观看| 国产精品久久99| 国产精品一区二区男女羞羞无遮挡| 欧美日韩一区在线| 亚洲日本在线视频观看| 国产精品一区三区| 欧美电视剧免费观看| 亚洲国产精品自拍| 日本久久一区二区三区| 中文字幕成人av| 国产精品亚洲一区二区三区妖精| 6080午夜不卡| 亚洲综合丁香婷婷六月香| 成人高清视频在线| 国产色产综合产在线视频| 九九精品视频在线看| 久久影视一区二区| 蜜臀精品久久久久久蜜臀 | 欧美日韩美少妇| 亚洲欧美一区二区三区国产精品| 国产激情视频一区二区三区欧美| 欧美一级日韩不卡播放免费| 午夜欧美视频在线观看 | 日本欧美一区二区三区| 欧美蜜桃一区二区三区| 亚洲成a人v欧美综合天堂| 在线免费一区三区| 亚洲尤物视频在线| 欧美日韩dvd在线观看| 一区二区三区加勒比av| 欧美性猛交xxxx乱大交退制版 | 欧美视频中文字幕| 亚洲成av人片在www色猫咪| 欧美日韩美少妇| 奇米精品一区二区三区在线观看| 91精品国产91久久综合桃花| 麻豆国产精品777777在线| 久久综合色一综合色88| 风间由美一区二区三区在线观看 | 99精品视频中文字幕| 自拍偷拍欧美激情| 欧美三级日韩在线| 免费观看日韩电影| 久久久久久麻豆| 99久久国产综合精品色伊| 亚洲一区二区在线播放相泽| 欧美人牲a欧美精品| 精品一区二区三区免费播放| 久久精品亚洲乱码伦伦中文| 97久久人人超碰| 亚洲国产日韩一级| 26uuu另类欧美亚洲曰本| av在线不卡观看免费观看| 亚洲国产精品天堂| 久久综合久久综合久久综合| 成人综合婷婷国产精品久久蜜臀| 亚洲欧美日韩一区二区 | 色综合久久88色综合天天免费| 成人欧美一区二区三区黑人麻豆 | 国产在线一区二区| 亚洲欧洲成人自拍| 777a∨成人精品桃花网| 粉嫩在线一区二区三区视频| 亚洲成av人在线观看| 国产欧美精品国产国产专区| 欧美人动与zoxxxx乱| 国产91精品久久久久久久网曝门| 亚洲第一电影网| 国产欧美精品在线观看| 在线播放中文一区| 波多野结衣亚洲一区| 激情久久久久久久久久久久久久久久| 国产精品入口麻豆九色| 日韩一区二区免费高清| 337p亚洲精品色噜噜| 91欧美一区二区| 国产成人在线视频播放| 日本不卡免费在线视频| 亚洲精品v日韩精品| 欧美激情一区二区三区不卡 | www.日本不卡| 激情另类小说区图片区视频区| 亚洲一区免费在线观看| 国产精品全国免费观看高清| 欧美成人女星排名| 欧美男生操女生| 欧美三电影在线| 在线免费观看成人短视频| 成人黄页在线观看| 国产福利精品导航| 国产一区二区三区国产| 久久国产麻豆精品| 久久精品国产精品亚洲精品 | 亚洲精品在线电影| 日韩欧美一级在线播放| 91精品国产手机| 在线成人免费观看| 欧美福利一区二区| 91精品国产欧美一区二区| 欧美日精品一区视频| 91国产丝袜在线播放| 91精彩视频在线| 欧美色图免费看| 欧美日韩国产高清一区| 欧美日韩一级黄| 欧美日韩二区三区| 91精品国产91久久久久久最新毛片| 欧美日韩aaa| 日韩视频在线观看一区二区| 日韩欧美中文字幕一区| 日韩限制级电影在线观看| 精品久久国产字幕高潮| 久久精品视频免费| 国产精品蜜臀av| 一区2区3区在线看| 日韩成人一级大片| 精品一区二区三区的国产在线播放| 久久精品国产一区二区三区免费看| 久久精品国产成人一区二区三区| 狠狠久久亚洲欧美| 成人美女视频在线观看| 91网站在线观看视频| 欧美日韩一区二区电影| 欧美变态tickling挠脚心| 国产午夜亚洲精品羞羞网站| 亚洲欧美色一区| 天堂资源在线中文精品| 国产一区在线观看麻豆| av在线一区二区三区| 91精品在线免费观看| 亚洲国产精品精华液2区45| 亚洲精品欧美专区| 久久99国产精品麻豆| 成a人片亚洲日本久久| 这里只有精品电影| 国产女同互慰高潮91漫画| 一区二区三区中文免费| 久久精品国产亚洲5555| 91免费观看视频| 日韩精品自拍偷拍| 国产精品福利一区二区| 男女性色大片免费观看一区二区 | 91视频免费观看| 欧美一区二区三区免费视频| 国产精品视频一二三| 日本欧美一区二区三区乱码| 国产风韵犹存在线视精品| 欧美日韩精品欧美日韩精品一| 久久精品视频免费| 日本女人一区二区三区| 色婷婷综合久久久|