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

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

?? dimension.java

?? Hecl編程語言是一個高層次的腳本語言的Java實現。其用意是要小
?? JAVA
字號:
/* * Copyright (C) 2005, 2006 data2c GmbH (www.data2c.com) * * Author: Wolfgang S. Kechel - wolfgang.kechel@data2c.com * * J2ME version of java.awt.Dimension.  *///#ifndef j2sepackage org.awt;import org.awt.geom.Dimension2D;/** * The <code>Dimension</code> class encapsulates the width and  * height of a component (in integer precision) in a single object.  * The class is  * associated with certain properties of components. Several methods  * defined by the <code>Component</code> class and the  * <code>LayoutManager</code> interface return a  * <code>Dimension</code> object.  * <p> * Normally the values of <code>width</code>  * and <code>height</code> are non-negative integers.  * The constructors that allow you to create a dimension do  * not prevent you from setting a negative value for these properties.  * If the value of <code>width</code> or <code>height</code> is  * negative, the behavior of some methods defined by other objects is  * undefined.  */public class Dimension extends Dimension2D /*implements java.io.Serializable*/ {        /**     * The width dimension; negative values can be used.      *     * @serial     * @see #getSize     * @see #setSize     */    public int width;    /**     * The height dimension; negative values can be used.      *     * @serial     * @see #getSize     * @see #setSize     */    public int height;    /**      * Creates an instance of <code>Dimension</code> with a width      * of zero and a height of zero.      */    public Dimension() {	this(0, 0);    }    /**      * Creates an instance of <code>Dimension</code> whose width       * and height are the same as for the specified dimension.      *     * @param    d   the specified dimension for the      *               <code>width</code> and      *               <code>height</code> values     */    public Dimension(Dimension d) {	this(d.width, d.height);    }    /**      * Constructs a <code>Dimension</code> and initializes     * it to the specified width and specified height.     *     * @param width the specified width      * @param height the specified height     */    public Dimension(int width, int height) {	this.width = width;	this.height = height;    }    /**     * Returns the width of this dimension in double precision.     * @return the width of this dimension in double precision     */    public double getWidth() {	return width;    }    /**     * Returns the height of this dimension in double precision.     * @return the height of this dimension in double precision     */    public double getHeight() {	return height;    }    /**     * Sets the size of this <code>Dimension</code> object to     * the specified width and height in double precision.     * Note that if <code>width</code> or <code>height</code>     * are larger than <code>Integer.MAX_VALUE</code>, they will     * be reset to <code>Integer.MAX_VALUE</code>.     *     * @param width  the new width for the <code>Dimension</code> object     * @param height the new height for the <code>Dimension</code> object     */    public void setSize(double width, double height) {	this.width = (int) Math.ceil(width);	this.height = (int) Math.ceil(height);    }    /**     * Gets the size of this <code>Dimension</code> object.     * This method is included for completeness, to parallel the     * <code>getSize</code> method defined by <code>Component</code>.     *     * @return   the size of this dimension, a new instance of      *           <code>Dimension</code> with the same width and height     * @see      java.awt.Dimension#setSize     * @see      java.awt.Component#getSize     */    public Dimension getSize() {	return new Dimension(width, height);    }	    /**     * Sets the size of this <code>Dimension</code> object to the specified size.     * This method is included for completeness, to parallel the     * <code>setSize</code> method defined by <code>Component</code>.     * @param    d  the new size for this <code>Dimension</code> object     * @see      java.awt.Dimension#getSize     * @see      java.awt.Component#setSize     */    public void setSize(Dimension d) {	setSize(d.width, d.height);    }	    /**     * Sets the size of this <code>Dimension</code> object      * to the specified width and height.     * This method is included for completeness, to parallel the     * <code>setSize</code> method defined by <code>Component</code>.     *     * @param    width   the new width for this <code>Dimension</code> object     * @param    height  the new height for this <code>Dimension</code> object     * @see      java.awt.Dimension#getSize     * @see      java.awt.Component#setSize     */    public void setSize(int width, int height) {    	this.width = width;    	this.height = height;    }	    /**     * Checks whether two dimension objects have equal values.     */    public boolean equals(Object obj) {	if (obj instanceof Dimension) {	    Dimension d = (Dimension)obj;	    return (width == d.width) && (height == d.height);	}	return false;    }    /**     * Returns the hash code for this <code>Dimension</code>.     *     * @return    a hash code for this <code>Dimension</code>     */    public int hashCode() {        int sum = width + height;        return sum * (sum + 1)/2 + width;    }    /**     * Returns a string representation of the values of this      * <code>Dimension</code> object's <code>height</code> and      * <code>width</code> fields. This method is intended to be used only      * for debugging purposes, and the content and format of the returned      * string may vary between implementations. The returned string may be      * empty but may not be <code>null</code>.     *      * @return  a string representation of this <code>Dimension</code>      *          object     */    public String toString() {	return "Dimension[w=" + width + ", h=" + height + "]";    }}//#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区成人6969| 国产.欧美.日韩| 亚洲一区二区在线视频| 中文字幕亚洲区| 国产婷婷精品av在线| 精品999在线播放| 国产亚洲精品超碰| 中文字幕精品—区二区四季| 国产精品午夜在线观看| 亚洲色图视频网| 亚洲香蕉伊在人在线观| 日本少妇一区二区| 麻豆成人免费电影| 国产成人亚洲综合色影视| 不卡av在线免费观看| 色偷偷88欧美精品久久久| 欧洲一区二区三区在线| 日韩一卡二卡三卡四卡| 久久精品亚洲精品国产欧美| 中文字幕精品一区| 亚洲国产欧美在线| 卡一卡二国产精品| 成人免费不卡视频| 欧美日韩一区二区三区四区五区| 91精品婷婷国产综合久久性色| 7777精品伊人久久久大香线蕉的 | 久久久亚洲欧洲日产国码αv| 日韩你懂的在线播放| 国产欧美一区二区三区在线看蜜臀| 国产精品欧美精品| 亚洲高清免费在线| 福利视频网站一区二区三区| 色婷婷亚洲综合| 日韩精品影音先锋| 中文字幕亚洲欧美在线不卡| 日韩激情中文字幕| 成人av电影在线| 日韩欧美国产三级| 一区二区成人在线视频| 国产一区二区女| 欧美日韩国产综合视频在线观看| 久久蜜桃av一区二区天堂| 亚洲精选视频免费看| 韩国在线一区二区| 欧美色电影在线| 中文字幕免费不卡在线| 久久精品国产在热久久| 色哟哟亚洲精品| 国产欧美视频一区二区| 日本vs亚洲vs韩国一区三区| 在线免费亚洲电影| 国产精品乱码人人做人人爱| 免费看欧美女人艹b| 欧洲一区在线观看| 亚洲人成7777| 成人免费毛片片v| 精品国产伦一区二区三区免费| 亚洲大片免费看| 91蜜桃在线免费视频| 中文av一区二区| 高清免费成人av| 久久精品亚洲国产奇米99| 青草国产精品久久久久久| 欧美性一区二区| 亚洲欧美另类图片小说| av激情综合网| 中文字幕亚洲区| 91浏览器入口在线观看| 亚洲欧洲一区二区在线播放| 国产精品1区2区| 欧美激情综合网| 成人小视频免费在线观看| 国产色综合久久| 岛国精品在线播放| 国产精品高清亚洲| 一本到不卡免费一区二区| 日韩毛片在线免费观看| 色悠悠久久综合| 亚洲综合在线免费观看| 欧日韩精品视频| 石原莉奈在线亚洲二区| 欧美一区午夜精品| 精品制服美女丁香| 国产女人18毛片水真多成人如厕 | 亚洲欧美中日韩| 91网址在线看| 亚洲成av人片在www色猫咪| 在线观看亚洲精品| 日本少妇一区二区| 久久久www成人免费毛片麻豆| 国产成人在线视频网站| 中文字幕久久午夜不卡| 91免费观看国产| 视频在线观看国产精品| www国产精品av| 99国产精品久| 日韩电影在线免费看| 久久奇米777| 一本一道久久a久久精品| 亚洲国产成人porn| 久久久精品tv| 欧美亚洲国产bt| 蜜臀av性久久久久蜜臀aⅴ| 国产欧美日韩另类一区| 在线观看成人免费视频| 麻豆精品精品国产自在97香蕉| 久久综合九色综合97婷婷女人| 从欧美一区二区三区| 亚洲一区二区不卡免费| 精品国产一区a| 91免费观看国产| 国产在线精品一区二区不卡了| 专区另类欧美日韩| 欧美精品一区二区三区高清aⅴ| 成人一区在线观看| 三级不卡在线观看| 国产精品久久久久久久久免费丝袜 | 欧美日韩一区二区三区四区 | 美女mm1313爽爽久久久蜜臀| 国产女人aaa级久久久级| 7777精品伊人久久久大香线蕉完整版 | 一级中文字幕一区二区| 欧美www视频| 欧美色中文字幕| 国产91丝袜在线观看| 美女视频一区二区三区| 一区二区三区电影在线播| 国产欧美一区二区三区沐欲| 4438x亚洲最大成人网| 91麻豆.com| 成人动漫一区二区三区| 国产一区二三区| 蜜臀久久99精品久久久久宅男| 亚洲柠檬福利资源导航| 久久久久久久电影| 精品久久人人做人人爰| 5858s免费视频成人| 在线看一区二区| 在线观看日韩国产| 成人免费av在线| 成人综合激情网| 国产**成人网毛片九色 | 欧美老肥妇做.爰bbww视频| 不卡免费追剧大全电视剧网站| 国精品**一区二区三区在线蜜桃| 午夜私人影院久久久久| 亚洲一区二区三区四区中文字幕| 亚洲天堂免费看| 亚洲精品乱码久久久久久日本蜜臀| 国产亚洲欧洲997久久综合| 久久影院电视剧免费观看| 精品国产不卡一区二区三区| 日韩丝袜情趣美女图片| 日韩一区二区视频在线观看| 欧美精品一卡两卡| 91精品国产一区二区人妖| 欧美日韩www| 91精品国产综合久久香蕉的特点| 欧美日韩一级片在线观看| 欧美美女黄视频| 欧美成人性福生活免费看| 精品美女在线播放| 久久精品一区二区三区四区| 国产人成一区二区三区影院| 国产精品美女一区二区三区| 国产精品国产三级国产aⅴ原创 | 日本精品一级二级| 欧美性大战xxxxx久久久| 欧美老肥妇做.爰bbww视频| 日韩女优av电影| 欧美国产97人人爽人人喊| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 亚洲精品乱码久久久久久日本蜜臀| 亚洲一区二区欧美日韩| 日本网站在线观看一区二区三区| 激情综合色综合久久综合| 成人美女在线观看| 欧美日韩国产经典色站一区二区三区 | 欧美日本乱大交xxxxx| 精品少妇一区二区三区免费观看| 国产午夜久久久久| 亚洲愉拍自拍另类高清精品| 免费在线看一区| 99久久99精品久久久久久| 一本大道av一区二区在线播放| 欧美精品久久一区| 日本一区二区免费在线| 亚洲一区二区在线视频| 国产传媒日韩欧美成人| 欧美三级电影网站| 久久精品视频在线看| 亚洲午夜成aⅴ人片| 国产成人综合视频| 欧美一区欧美二区| 亚洲天堂成人在线观看| 成人国产视频在线观看| 欧美日韩一区二区三区在线| 欧美国产精品专区| 日本亚洲三级在线| 91亚洲精品久久久蜜桃|