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

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

?? sdouble.java

?? 一個java方面的消息訂閱發送的源碼
?? JAVA
字號:
/**
 * Redistribution and use of this software and associated documentation
 * ("Software"), with or without modification, are permitted provided
 * that the following conditions are met:
 *
 * 1. Redistributions of source code must retain copyright
 *    statements and notices.  Redistributions must also contain a
 *    copy of this document.
 *
 * 2. Redistributions in binary form must reproduce the
 *    above copyright notice, this list of conditions and the
 *    following disclaimer in the documentation and/or other
 *    materials provided with the distribution.
 *
 * 3. The name "Exolab" must not be used to endorse or promote
 *    products derived from this Software without prior written
 *    permission of Exoffice Technologies.  For written permission,
 *    please contact info@exolab.org.
 *
 * 4. Products derived from this Software may not be called "Exolab"
 *    nor may "Exolab" appear in their names without prior written
 *    permission of Exoffice Technologies. Exolab is a registered
 *    trademark of Exoffice Technologies.
 *
 * 5. Due credit should be given to the Exolab Project
 *    (http://www.exolab.org/).
 *
 * THIS SOFTWARE IS PROVIDED BY EXOFFICE TECHNOLOGIES AND CONTRIBUTORS
 * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
 * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
 * EXOFFICE TECHNOLOGIES OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * Copyright 2000,2001 (C) Exoffice Technologies Inc. All Rights Reserved.
 */

package org.exolab.jms.selector;


/**
 * This class is an adapter for the Double type.
 *
 * @version     $Revision: 1.1 $ $Date: 2004/11/26 01:50:44 $
 * @author      <a href="mailto:tima@intalio.com">Tim Anderson</a>
 * @see         SNumber
 */
final class SDouble extends SNumber {

    /**
     * The wrapped value
     */
    private final double _value;

    /**
     * Construct a new <code>SDouble</code>, initialised to <code>0</code>
     */
    public SDouble() {
        _value = 0;
    }

    /**
     * Construct a new <code>SDouble</code>
     *
     * @param value the underlying value
     */
    public SDouble(final double value) {
        _value = value;
    }

    /**
     * Returns the addition of a number to this
     *
     * @param number the number to add
     * @return the value of <code>this + number<code>
     */
    public SNumber add(final SNumber number) {
        return new SDouble(_value + number.getDouble());
    }

    /**
     * Returns the value of the substraction of a number from this
     *
     * @param number the number to subtract
     * @return the value of <code>this - number<code>
     */
    public SNumber subtract(final SNumber number) {
        return new SDouble(_value - number.getDouble());
    }

    /**
     * Returns the multiplication of a number to this
     *
     * @param number the number to multiply
     * @return the value of <code>this * number<code>
     */
    public SNumber multiply(final SNumber number) {
        return new SDouble(_value * number.getDouble());
    }

    /**
     * Returns the division of a number from this
     *
     * @param number the number to divide
     * @return the value of <code>this / number<code>
     */
    public SNumber divide(final SNumber number) {
        SNumber result = null;
        try {
            result = new SDouble(_value / number.getDouble());
        } catch (ArithmeticException ignore) {
        }
        return result;
    }

    /**
     * Returns the value of this as a <code>long</code>
     *
     * @return the value of this as a <code>long</code>
     */
    public long getLong() {
        return (long) _value;
    }

    /**
     * Returns the value of this as a <code>double</code>
     *
     * @return the value of this as a <code>double</code>
     */
    public double getDouble() {
        return _value;
    }

    /**
     * Returns the value of this, wrapped in a <code>Double</code>
     *
     * @return the value of this, wrapped in a <code>Double</code>
     */
    public Object getObject() {
        return new Double(_value);
    }

    /**
     * Determines if this is equal to another object.
     *
     * @param obj the object to compare. An instance of <code>SNumber</code>
     * @return <code>SBool.TRUE</code> if <code>this = obj</code>, otherwise
     * <code>SBool.FALSE</code>
     */
    public SBool equal(final SObject obj) {
        SBool result = SBool.FALSE;
        double rhs = ((SNumber) obj).getDouble();
        if (_value == rhs) {
            result = SBool.TRUE;
        }
        return result;
    }

    /**
     * Determines if this is less than another object.
     *
     * @param obj the object to compare. An instance of <code>SNumber</code>
     * @return <code>SBool.TRUE</code> if <code>this &lt; obj</code>, otherwise
     * <code>SBool.FALSE</code>
     */
    public SBool less(final SObject obj) {
        SBool result = SBool.FALSE;
        double rhs = ((SNumber) obj).getDouble();
        if (_value < rhs) {
            result = SBool.TRUE;
        }
        return result;
    }

    /**
     * Determines if this is greater than another object.
     *
     * @param obj the object to compare. An instance of <code>SNumber</code>
     * @return <code>SBool.TRUE</code> if <code>this &gt; obj</code>, otherwise
     * <code>SBool.FALSE</code>
     */
    public SBool greater(final SObject obj) {
        SBool result = SBool.FALSE;
        double rhs = ((SNumber) obj).getDouble();
        if (_value > rhs) {
            result = SBool.TRUE;
        }
        return result;
    }

} //-- SDouble

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品久久久久久综合日本欧美| 成人手机电影网| 亚洲激情六月丁香| 中文字幕一区二区不卡| 国产日本一区二区| 久久伊人中文字幕| 久久久精品黄色| 国产精品久久三区| 日韩一区欧美一区| 亚洲色欲色欲www| 亚洲激情自拍偷拍| 五月激情六月综合| 毛片av一区二区三区| 蜜桃视频在线观看一区| 日韩av成人高清| 国内精品嫩模私拍在线| 成人午夜激情视频| 欧美在线一区二区| 欧美剧在线免费观看网站| 欧美一级理论片| 久久精品亚洲精品国产欧美kt∨| 国产女人18水真多18精品一级做| 1000精品久久久久久久久| 亚洲在线免费播放| 美女一区二区在线观看| 粉嫩一区二区三区性色av| 92精品国产成人观看免费| 欧美人xxxx| 欧美精品一区二区在线观看| 国产精品成人免费精品自在线观看| 亚洲激情一二三区| 国内成+人亚洲+欧美+综合在线| 国产精品中文字幕日韩精品| 成人高清av在线| 欧美高清视频www夜色资源网| 日韩女优制服丝袜电影| 中文字幕一区av| 蜜桃一区二区三区在线观看| 波多野结衣中文字幕一区二区三区| 欧美无砖专区一中文字| 国产亚洲一区二区三区在线观看 | 一本久久a久久精品亚洲| 欧美色倩网站大全免费| 久久亚洲一区二区三区明星换脸| 自拍偷拍亚洲欧美日韩| 九九视频精品免费| 在线观看视频一区二区 | 久久精品欧美一区二区三区麻豆| 国产精品久久三| 九九精品视频在线看| 一道本成人在线| 国产清纯白嫩初高生在线观看91| 图片区日韩欧美亚洲| 99久久亚洲一区二区三区青草 | 精品写真视频在线观看| 欧美三级三级三级| 国产精品欧美极品| 紧缚奴在线一区二区三区| 色婷婷亚洲综合| 中文字幕一区二区三区四区| 蜜乳av一区二区| 欧美日韩精品系列| 亚洲欧洲日本在线| 丁香桃色午夜亚洲一区二区三区| 欧美一区二区三区视频在线| 亚洲人成在线观看一区二区| 国产+成+人+亚洲欧洲自线| 欧美一区二区三区啪啪| 亚洲国产视频一区二区| 成人av电影在线观看| 久久久久久久一区| 国产在线看一区| 精品国产免费久久| 极品美女销魂一区二区三区| 日韩一区二区电影| 日本亚洲视频在线| 欧美成人一区二区三区| 免费观看一级特黄欧美大片| 欧美一区二区三区男人的天堂| 香蕉成人伊视频在线观看| 欧美日韩国产综合一区二区| 亚洲精品成人a在线观看| 在线一区二区三区四区| 亚洲h在线观看| 在线播放91灌醉迷j高跟美女| 亚洲国产精品久久人人爱| 精品视频1区2区| 日本网站在线观看一区二区三区| 欧美精品一二三区| 日本午夜一区二区| 久久久三级国产网站| 成人国产精品视频| 亚洲午夜在线电影| 欧美日韩精品欧美日韩精品一| 视频一区二区三区入口| 日韩欧美视频在线| 国产真实乱对白精彩久久| 亚洲欧洲精品一区二区三区不卡| 91小宝寻花一区二区三区| 亚洲一级电影视频| 欧美理论电影在线| 国产在线一区二区综合免费视频| 国产精品全国免费观看高清| 色欧美乱欧美15图片| 日本不卡不码高清免费观看 | 国产成人夜色高潮福利影视| 中文字幕成人av| 欧美性猛交xxxx黑人交| 奇米777欧美一区二区| 国产精品私人影院| 欧美日韩成人在线| 激情综合网激情| 亚洲欧洲制服丝袜| 欧美一级片在线观看| 国产高清成人在线| 亚洲国产一区视频| 久久精品一区二区三区四区| 欧美日韩一区二区欧美激情| 国产一区91精品张津瑜| 亚洲黄色av一区| 欧美精品一区二区三区蜜臀| 在线免费精品视频| 国产激情一区二区三区四区 | 亚洲成人7777| 国产欧美一区二区精品久导航| 欧美无砖砖区免费| 国产成人在线看| 免费看黄色91| 亚洲成人综合在线| 国产精品萝li| 日韩一级黄色片| 色老汉一区二区三区| 国产乱码精品1区2区3区| 亚洲狠狠爱一区二区三区| 国产精品女人毛片| 精品少妇一区二区三区在线视频| 一本久道久久综合中文字幕| 成人亚洲一区二区一| 久久精品99国产国产精| 偷拍日韩校园综合在线| 亚洲激情自拍视频| 国产女主播在线一区二区| 欧美变态凌虐bdsm| 91精品国产综合久久精品图片 | 欧美色视频在线| 99这里只有久久精品视频| 国产一区免费电影| 精品一区二区三区日韩| 免费亚洲电影在线| 日本网站在线观看一区二区三区| 一区二区三区视频在线观看| 一区视频在线播放| 日本一区二区久久| 国产欧美精品一区aⅴ影院| 久久只精品国产| 久久亚洲二区三区| 久久女同精品一区二区| 国产日韩v精品一区二区| 久久影院午夜论| 国产亚洲精品7777| 国产喷白浆一区二区三区| 久久久91精品国产一区二区三区| 久久综合久久综合久久综合| 国产午夜精品久久| 欧美极品xxx| 亚洲私人影院在线观看| 亚洲精品视频在线观看免费| 一个色在线综合| 日本成人在线不卡视频| 韩国三级在线一区| 成人国产一区二区三区精品| 一本久久综合亚洲鲁鲁五月天| 欧美亚洲一区二区在线| 欧美丰满少妇xxxxx高潮对白| 日韩一区二区在线看| ww久久中文字幕| 中文字幕av一区二区三区免费看 | 蜜桃视频免费观看一区| 狠狠色丁香婷婷综合久久片| 国产91精品免费| 在线免费不卡电影| 91精品国产黑色紧身裤美女| 亚洲精品一区二区三区在线观看| 国产精品日韩成人| 亚洲6080在线| 国产乱子轮精品视频| 91免费国产在线| 91精品国产综合久久精品图片| 国产午夜精品理论片a级大结局| 亚洲精品日韩一| 日韩高清中文字幕一区| 国产一区二区三区四区五区入口| jlzzjlzz国产精品久久| 日韩一区二区三区在线观看| 欧美高清在线视频| 日本少妇一区二区| 91传媒视频在线播放| 欧美精品一区二区三区蜜臀| 一区二区三区精品在线观看| 国模大尺度一区二区三区|