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

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

?? tickunits.java

?? Web圖形化的Java庫
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* ======================================
 * JFreeChart : a free Java chart library
 * ======================================
 *
 * Project Info:  http://www.jfree.org/jfreechart/index.html
 * Project Lead:  David Gilbert (david.gilbert@object-refinery.com);
 *
 * (C) Copyright 2000-2003, by Object Refinery Limited and Contributors.
 *
 * This library is free software; you can redistribute it and/or modify it under the terms
 * of the GNU Lesser General Public License as published by the Free Software Foundation;
 * either version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License along with this
 * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * --------------
 * TickUnits.java
 * --------------
 * (C) Copyright 2001-2003, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * $Id: TickUnits.java,v 1.5 2003/09/03 15:08:48 mungady Exp $
 *
 * Changes
 * -------
 * 23-Nov-2001 : Version 1 (DG);
 * 18-Feb-2002 : Fixed bug in getNearestTickUnit (thanks to Mario Inchiosa for reporting this,
 *               SourceForge bug id 518073) (DG);
 * 25-Feb-2002 : Moved createStandardTickUnits() method from NumberAxis, and added
 *               createIntegerTickUnits() method (DG);
 * 01-May-2002 : Updated for changes to the TickUnit class (DG);
 * 18-Sep-2002 : Added standardTickUnit methods which take a Locale instance (AS);
 * 26-Sep-2002 : Fixed errors reported by Checkstyle (DG);
 * 08-Nov-2002 : Moved to new package com.jrefinery.chart.axis (DG);
 * 26-Mar-2003 : Implemented Serializable (DG);
 * 13-Aug-2003 : Implemented Cloneable (DG);
 *
 */

package org.jfree.chart.axis;

import java.io.Serializable;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Collections;
import java.util.List;
import java.util.Locale;

/**
 * A collection of tick units.
 * <P>
 * Used by the {@link DateAxis} and {@link NumberAxis} classes.
 *
 * @author David Gilbert
 */
public class TickUnits implements Cloneable, Serializable {

    /** Storage for the tick units. */
    private List tickUnits;

    /**
     * Constructs a new collection of tick units.
     */
    public TickUnits() {
        this.tickUnits = new java.util.ArrayList();
    }

    /**
     * Adds a tick unit to the collection.
     * <P>
     * The tick units are maintained in ascending order.
     *
     * @param unit  the tick unit to add.
     */
    public void add(TickUnit unit) {

        this.tickUnits.add(unit);
        Collections.sort(this.tickUnits);

    }

    /**
     * Returns a tick unit that is larger than the supplied unit.
     *
     * @param unit   the unit.
     *
     * @return a tick unit that is larger than the supplied unit.
     */
    public TickUnit getLargerTickUnit(TickUnit unit) {

        int index = Collections.binarySearch(this.tickUnits, unit);
        if (index >= 0) {
            index = index + 1;
        }
        else {
            index = -index;
        }

        return (TickUnit) this.tickUnits.get(Math.min(index, this.tickUnits.size() - 1));

    }

    /**
     * Returns the tick unit in the collection that is greater than or equal
     * to (in size) the specified unit.
     *
     * @param unit  the unit.
     *
     * @return a unit from the collection.
     */
    public TickUnit getCeilingTickUnit(TickUnit unit) {

        int index = Collections.binarySearch(this.tickUnits, unit);
        if (index >= 0) {
            return (TickUnit) this.tickUnits.get(index);
        }
        else {
            index = -(index + 1);
            return (TickUnit) this.tickUnits.get(Math.min(index, this.tickUnits.size() - 1));
        }

    }

    /**
     * Returns the tick unit in the collection that is greater than or equal
     * to the specified size.
     *
     * @param size  the size.
     *
     * @return a unit from the collection.
     */
    public TickUnit getCeilingTickUnit(double size) {

        return getCeilingTickUnit(new NumberTickUnit(size, null));

    }

    /**
     * Creates the standard tick units.
     * <P>
     * If you don't like these defaults, create your own instance of TickUnits
     * and then pass it to the setStandardTickUnits(...) method in the
     * NumberAxis class.
     *
     * @return the standard tick units.
     *
     * @deprecated this method has been moved to the NumberAxis class.
     */
    public static TickUnits createStandardTickUnits() {

        TickUnits units = new TickUnits();

        // we can add the units in any order, the TickUnits collection will sort them...
        units.add(new NumberTickUnit(0.0000001,    new DecimalFormat("0.0000000")));
        units.add(new NumberTickUnit(0.000001,     new DecimalFormat("0.000000")));
        units.add(new NumberTickUnit(0.00001,      new DecimalFormat("0.00000")));
        units.add(new NumberTickUnit(0.0001,       new DecimalFormat("0.0000")));
        units.add(new NumberTickUnit(0.001,        new DecimalFormat("0.000")));
        units.add(new NumberTickUnit(0.01,         new DecimalFormat("0.00")));
        units.add(new NumberTickUnit(0.1,          new DecimalFormat("0.0")));
        units.add(new NumberTickUnit(1,            new DecimalFormat("0")));
        units.add(new NumberTickUnit(10,           new DecimalFormat("0")));
        units.add(new NumberTickUnit(100,          new DecimalFormat("0")));
        units.add(new NumberTickUnit(1000,         new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(10000,        new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(100000,       new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(1000000,      new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(10000000,     new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(100000000,    new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(1000000000,   new DecimalFormat("#,###,###,##0")));

        units.add(new NumberTickUnit(0.00000025,   new DecimalFormat("0.00000000")));
        units.add(new NumberTickUnit(0.0000025,    new DecimalFormat("0.0000000")));
        units.add(new NumberTickUnit(0.000025,     new DecimalFormat("0.000000")));
        units.add(new NumberTickUnit(0.00025,      new DecimalFormat("0.00000")));
        units.add(new NumberTickUnit(0.0025,       new DecimalFormat("0.0000")));
        units.add(new NumberTickUnit(0.025,        new DecimalFormat("0.000")));
        units.add(new NumberTickUnit(0.25,         new DecimalFormat("0.00")));
        units.add(new NumberTickUnit(2.5,          new DecimalFormat("0.0")));
        units.add(new NumberTickUnit(25,           new DecimalFormat("0")));
        units.add(new NumberTickUnit(250,          new DecimalFormat("0")));
        units.add(new NumberTickUnit(2500,         new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(25000,        new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(250000,       new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(2500000,      new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(25000000,     new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(250000000,    new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(2500000000.0,   new DecimalFormat("#,###,###,##0")));

        units.add(new NumberTickUnit(0.0000005,    new DecimalFormat("0.0000000")));
        units.add(new NumberTickUnit(0.000005,     new DecimalFormat("0.000000")));
        units.add(new NumberTickUnit(0.00005,      new DecimalFormat("0.00000")));
        units.add(new NumberTickUnit(0.0005,       new DecimalFormat("0.0000")));
        units.add(new NumberTickUnit(0.005,        new DecimalFormat("0.000")));
        units.add(new NumberTickUnit(0.05,         new DecimalFormat("0.00")));
        units.add(new NumberTickUnit(0.5,          new DecimalFormat("0.0")));
        units.add(new NumberTickUnit(5L,           new DecimalFormat("0")));
        units.add(new NumberTickUnit(50L,          new DecimalFormat("0")));
        units.add(new NumberTickUnit(500L,         new DecimalFormat("0")));
        units.add(new NumberTickUnit(5000L,        new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(50000L,       new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(500000L,      new DecimalFormat("#,##0")));
        units.add(new NumberTickUnit(5000000L,     new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(50000000L,    new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(500000000L,   new DecimalFormat("#,###,##0")));
        units.add(new NumberTickUnit(5000000000L,  new DecimalFormat("#,###,###,##0")));

        return units;

    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆精品国产无毒不卡在线观看| 丁香婷婷深情五月亚洲| 国产激情一区二区三区四区| 波多野结衣亚洲一区| 欧美体内she精高潮| 欧美草草影院在线视频| 欧美高清在线精品一区| 一区二区免费在线| 国产一区二三区| 91视频91自| 欧美成人r级一区二区三区| 1024成人网| 久久精品国产亚洲5555| caoporm超碰国产精品| 欧美日韩免费一区二区三区视频| 久久九九久久九九| 亚洲大尺度视频在线观看| 国产成人精品免费在线| 欧美片在线播放| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 久久婷婷国产综合国色天香| 成人免费毛片片v| 欧洲人成人精品| 久久精品人人做人人综合| 亚洲成人激情av| 丰满少妇在线播放bd日韩电影| 欧美区一区二区三区| 国产精品乱码人人做人人爱| 美女视频免费一区| 欧洲在线/亚洲| 国产精品国产三级国产普通话蜜臀 | 精品亚洲国内自在自线福利| 99精品欧美一区二区三区小说| 欧美成人免费网站| 亚洲一区二三区| 成人免费高清在线观看| 日韩精品一区二区三区视频在线观看| 亚洲激情图片一区| 国产成人精品aa毛片| 日韩一区二区高清| 亚洲午夜精品一区二区三区他趣| 成av人片一区二区| 久久综合色天天久久综合图片| 日韩精品一二区| 91丨porny丨最新| 国产人伦精品一区二区| 久久国产剧场电影| 91.com在线观看| 亚洲一区二区三区在线看| www.成人网.com| 国产精品丝袜黑色高跟| 国精产品一区一区三区mba视频 | 免费一级欧美片在线观看| 欧美日韩中字一区| 亚洲影视在线播放| 色狠狠桃花综合| 国产精品久久久久三级| 床上的激情91.| 久久精品亚洲精品国产欧美kt∨| 久久精品国产亚洲a| 日韩一区二区电影网| 首页综合国产亚洲丝袜| 欧美日韩大陆在线| 亚洲一区二区三区四区的| 91色在线porny| 亚洲色图一区二区| 色婷婷亚洲精品| 亚洲在线视频免费观看| 欧美日韩亚洲综合| 亚洲国产精品久久人人爱蜜臀 | 麻豆精品新av中文字幕| 欧美一区二区在线免费观看| 琪琪久久久久日韩精品| 日韩三级视频在线看| 秋霞午夜鲁丝一区二区老狼| 日韩一区二区三区高清免费看看| 日本欧洲一区二区| 欧美草草影院在线视频| 国产麻豆视频精品| 国产精品视频一区二区三区不卡| 99久久伊人精品| 国产精品成人一区二区艾草| 色先锋资源久久综合| 一区二区三区精品| 欧美高清精品3d| 美女免费视频一区二区| 国产亚洲欧美日韩在线一区| 不卡在线观看av| 樱桃国产成人精品视频| 国产亚洲欧美色| 精品一区二区三区日韩| 久久只精品国产| 白白色 亚洲乱淫| 一区二区三区久久| 91麻豆精品国产91久久久| 久久99国产精品麻豆| 国产欧美精品一区aⅴ影院| 北条麻妃一区二区三区| 亚洲一区二区五区| 日韩欧美激情四射| 成人永久aaa| 亚洲一区二区在线免费看| 日韩一区二区在线播放| 国产aⅴ综合色| 亚洲制服丝袜av| 精品精品国产高清a毛片牛牛| 国产高清在线观看免费不卡| 亚洲免费在线观看| 欧美tk丨vk视频| 91亚洲精品一区二区乱码| 视频一区欧美精品| 欧美国产日本视频| 欧美日韩精品一区二区天天拍小说| 韩国成人在线视频| 日韩激情在线观看| 国产福利视频一区二区三区| 日韩视频免费观看高清完整版在线观看 | 久久不见久久见免费视频7| 欧美高清在线视频| 精品一区二区日韩| 久久久噜噜噜久噜久久综合| 色综合久久66| 看电视剧不卡顿的网站| 国产精品美女一区二区三区| 欧美少妇xxx| 国产成a人亚洲精品| 亚洲妇熟xx妇色黄| 中文一区一区三区高中清不卡| 欧美日韩一区二区在线观看视频 | 国产精品久久久久毛片软件| 欧美日韩久久一区二区| 国产91精品免费| 日本不卡123| 亚洲精品自拍动漫在线| 2022国产精品视频| 色婷婷久久综合| 粉嫩aⅴ一区二区三区四区 | 国产亚洲综合在线| 欧美伦理影视网| 97久久精品人人澡人人爽| 精品在线你懂的| 亚洲线精品一区二区三区八戒| 中文av一区二区| 精品少妇一区二区三区在线视频| 在线观看一区日韩| 成人av电影免费观看| 另类调教123区| 日韩精品欧美精品| 亚洲一区中文日韩| 综合久久给合久久狠狠狠97色 | 成人午夜又粗又硬又大| 蜜臀av一区二区三区| 性久久久久久久| 亚洲女女做受ⅹxx高潮| 国产欧美日韩精品a在线观看| 日韩视频一区二区| 777久久久精品| 欧美理论在线播放| 色诱视频网站一区| av高清不卡在线| 成人免费看片app下载| 国产成都精品91一区二区三 | 国产日韩精品一区二区三区在线| 日韩一区二区电影网| 这里是久久伊人| 欧美日韩精品二区第二页| 欧洲一区二区三区免费视频| 91视频.com| 色综合天天综合在线视频| www.欧美精品一二区| 成人app下载| 91小视频免费看| 不卡在线视频中文字幕| 国产iv一区二区三区| 国产99一区视频免费| 成人一区二区视频| 成人激情电影免费在线观看| 成人性生交大片| 成年人网站91| 99re在线视频这里只有精品| 成人黄色国产精品网站大全在线免费观看| 国产剧情一区在线| 国产精品亚洲专一区二区三区| 国产精品资源站在线| 国产高清精品网站| 波波电影院一区二区三区| 91麻豆国产自产在线观看| eeuss国产一区二区三区| 91婷婷韩国欧美一区二区| 91福利在线播放| 欧美日韩成人高清| 日韩小视频在线观看专区| 精品sm在线观看| 国产欧美日韩精品一区| 亚洲视频在线观看三级| 亚洲一区二区偷拍精品| 热久久免费视频| 国产一区二区毛片| 成人综合在线视频| 欧美在线一二三|