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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? rect.java

?? 共有164個java源程序
?? JAVA
字號:
/* * Copyright (c) 2000 David Flanagan.  All rights reserved. * This code is from the book Java Examples in a Nutshell, 2nd Edition. * It is provided AS-IS, WITHOUT ANY WARRANTY either expressed or implied. * You may study, use, and modify it for any non-commercial purpose. * You may distribute it non-commercially as long as you retain this notice. * For a commercial use license, or to purchase the book (recommended), * visit http://www.davidflanagan.com/javaexamples2. */package com.davidflanagan.examples.classes;/** * This class represents a rectangle.  Its fields represent the coordinates * of the corners of the rectangle.  Its methods define operations that can * be performed on Rect objects. **/public class Rect {    // These are the data fields of the class    public int x1, y1, x2, y2;    /**     * The is the main constructor for the class.  It simply uses its arguments     * to initialize each of the fields of the new object.  Note that it has     * the same name as the class, and that it has no return value declared in     * its signature.     **/    public Rect(int x1, int y1, int x2, int y2) {        this.x1 = x1;        this.y1 = y1;        this.x2 = x2;        this.y2 = y2;    }    /**     * This is another constructor.  It defines itself in terms of the above     **/    public Rect(int width, int height) { this(0, 0, width, height); }        /** This is yet another constructor. */    public Rect() { this(0, 0, 0, 0); }    /** Move the rectangle by the specified amounts */    public void move(int deltax, int deltay) {        x1 += deltax; x2 += deltax;        y1 += deltay; y2 += deltay;    }    /** Test whether the specified point is inside the rectangle */    public boolean isInside(int x, int y) {        return ((x >= x1)&& (x <= x2)&& (y >= y1)&& (y <= y2));    }    /**      * Return the union of this rectangle with another.  I.e. return the      * smallest rectangle that includes them both.     **/    public Rect union(Rect r) {        return new Rect((this.x1 < r.x1) ? this.x1 : r.x1,			(this.y1 < r.y1) ? this.y1 : r.y1,			(this.x2 > r.x2) ? this.x2 : r.x2,			(this.y2 > r.y2) ? this.y2 : r.y2);    }        /**      * Return the intersection of this rectangle with another.      * I.e. return their overlap.     **/    public Rect intersection(Rect r) {        Rect result =  new Rect((this.x1 > r.x1) ? this.x1 : r.x1,				(this.y1 > r.y1) ? this.y1 : r.y1,				(this.x2 < r.x2) ? this.x2 : r.x2,				(this.y2 < r.y2) ? this.y2 : r.y2);        if (result.x1 > result.x2) { result.x1 = result.x2 = 0; }        if (result.y1 > result.y2) { result.y1 = result.y2 = 0; }        return result;    }    /**      * This is a method of our superclass, Object.  We override it so that      * Rect objects can be meaningfully converted to strings, can be       * concatenated to strings with the + operator, and can be passed to       * methods like System.out.println()      **/    public String toString() {        return "[" + x1 + "," + y1 + "; " + x2 + "," + y2 + "]";    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人综合婷婷国产精品久久蜜臀| 欧美经典一区二区三区| 国产在线不卡一卡二卡三卡四卡| 日本女优在线视频一区二区| 激情久久五月天| 91久久奴性调教| 日韩视频一区在线观看| 国产日韩精品一区二区浪潮av| 国产成人免费高清| 777午夜精品视频在线播放| 久久久久久久久99精品| 国产精品日韩成人| 久久精品99国产精品日本| 不卡高清视频专区| 91精品国产综合久久精品| 久久久国产精品麻豆| 暴力调教一区二区三区| 欧美一级淫片007| 黄色小说综合网站| 国产精品国产自产拍高清av| 日韩经典一区二区| 91麻豆自制传媒国产之光| 欧美色倩网站大全免费| 欧美国产综合一区二区| 欧美亚洲一区二区在线观看| 日本一二三不卡| 欧洲精品在线观看| 一区二区三区不卡视频在线观看 | 麻豆精品视频在线观看视频| 色哟哟国产精品| 欧美成人激情免费网| 国产欧美一区二区精品秋霞影院 | 亚洲成人一区在线| 国产成人综合亚洲91猫咪| 亚洲精品网站在线观看| 国产在线一区观看| 亚洲影院理伦片| 欧美天堂亚洲电影院在线播放| 久久99久久久欧美国产| 亚洲精品综合在线| 久久久综合视频| 欧美精品电影在线播放| 日韩av一级电影| 日韩理论在线观看| 不卡大黄网站免费看| 丝袜亚洲另类欧美综合| 日韩美女精品在线| 久久蜜桃av一区二区天堂| 欧美三级三级三级| 成人av资源在线观看| 狠狠网亚洲精品| 日本欧美在线看| 亚洲一区二区三区三| 国产精品护士白丝一区av| 欧美va亚洲va香蕉在线| 欧美日本在线一区| 1024成人网色www| 欧美调教femdomvk| 成人一道本在线| 久久成人综合网| 亚洲 欧美综合在线网络| 亚洲日本欧美天堂| 国产精品全国免费观看高清 | 久久疯狂做爰流白浆xx| 天堂蜜桃91精品| 亚洲成人资源在线| 亚洲国产视频网站| 日韩精品一区二区三区在线观看 | 国产成人精品三级麻豆| 免费美女久久99| 久久久精品国产免费观看同学| 欧美一区二区三区的| 欧美久久一区二区| 欧美日本在线一区| 欧美一区二区在线视频| 欧美久久久久久蜜桃| 3d动漫精品啪啪1区2区免费| 欧美日韩免费视频| 欧美一区二区三区日韩视频| 91精品国产一区二区| 日韩一区二区三区在线视频| 日韩欧美二区三区| 久久精品欧美日韩| 欧美美女网站色| 91精品国产综合久久久蜜臀粉嫩 | 韩国一区二区在线观看| 久久精品国产亚洲高清剧情介绍 | 久久精品国产99国产| 国产一区二区三区在线看麻豆| 国产高清无密码一区二区三区| 成人午夜在线视频| 91麻豆福利精品推荐| 欧美亚洲一区二区在线观看| 6080yy午夜一二三区久久| 日韩一级免费一区| 久久先锋资源网| 欧美精品色综合| 亚洲精品一区二区三区蜜桃下载| 日本久久一区二区| 欧美日韩精品三区| 日韩三级免费观看| 日本一区二区视频在线| 一区二区欧美精品| 日本亚洲一区二区| 国产69精品久久777的优势| 久久se精品一区精品二区| 风间由美一区二区三区在线观看 | 日韩不卡在线观看日韩不卡视频| 日本在线观看不卡视频| 国产精品亚洲一区二区三区在线| 亚洲444eee在线观看| 麻豆高清免费国产一区| 成人在线综合网| 欧美午夜精品免费| 26uuu色噜噜精品一区| 国产精品久久久久久久第一福利| 亚洲综合在线五月| 国产一区二区三区av电影| 99在线精品免费| 日韩一二三四区| 国产精品福利一区二区三区| 亚洲va国产va欧美va观看| 国产不卡视频在线播放| 欧美性受极品xxxx喷水| 欧美精品一区二区三区高清aⅴ | 99在线精品观看| 日韩一二三四区| 亚洲国产精品t66y| 免费欧美在线视频| 在线观看中文字幕不卡| 国产嫩草影院久久久久| 青青草成人在线观看| 日本道在线观看一区二区| 久久亚洲精品国产精品紫薇| 亚洲 欧美综合在线网络| 中文一区二区在线观看| 久久国产尿小便嘘嘘| 国产精品一品视频| 在线成人免费观看| 中文字幕在线观看一区| 国内精品伊人久久久久av影院| 欧美在线视频日韩| 国产女人18水真多18精品一级做| 青娱乐精品视频| 欧美性猛交xxxxxx富婆| 1区2区3区国产精品| 国产盗摄视频一区二区三区| 欧美一二三区精品| 一区二区三区四区国产精品| jlzzjlzz亚洲日本少妇| 国产三级欧美三级日产三级99 | 男人的j进女人的j一区| 欧美视频精品在线| 亚洲黄色录像片| 99视频一区二区| 国产精品青草久久| 国产黄人亚洲片| 国产精品盗摄一区二区三区| 国产一区二区三区精品视频| 国产精品初高中害羞小美女文| 日韩av不卡在线观看| 欧美精品vⅰdeose4hd| 亚洲二区视频在线| 日本福利一区二区| 一区二区三区美女视频| 欧洲一区二区av| 亚洲成人免费视| 7777精品久久久大香线蕉| 亚洲mv在线观看| 91精品国产免费| 麻豆成人久久精品二区三区红| 日韩欧美国产一区在线观看| 精品一区二区三区香蕉蜜桃| 精品影视av免费| 日韩精品在线看片z| 另类小说色综合网站| 精品久久久久久无| 国产成人av在线影院| 国产精品美女视频| 91日韩一区二区三区| 亚洲人成人一区二区在线观看 | 亚洲卡通动漫在线| 色先锋资源久久综合| 亚洲小少妇裸体bbw| 在线播放91灌醉迷j高跟美女 | 国产91综合一区在线观看| 中文字幕中文字幕一区二区| 91免费观看国产| 日韩黄色小视频| 久久久国产午夜精品| 91麻豆123| 偷拍亚洲欧洲综合| 99国产精品久久久久久久久久| 日韩免费观看2025年上映的电影| 久久99热这里只有精品| 国产午夜精品福利| 色偷偷88欧美精品久久久| 亚洲h精品动漫在线观看| 精品国产sm最大网站| 99在线视频精品|