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

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

?? slong.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,2003 (C) Exoffice Technologies Inc. All Rights Reserved.
 */

package org.exolab.jms.selector;


/**
 * This class is an adapter for the Long type.
 *
 * @version     $Revision: 1.1 $ $Date: 2004/11/26 01:50:44 $
 * @author      <a href="mailto:tma@netspace.net.au">Tim Anderson</a>
 * @see         SNumber
 */
final class SLong extends SNumber {

    /**
     * The wrapped value
     */
    private long _value;

    /**
     * Construct a new <code>SLong</code>
     *
     * @param value the underlying value
     */
    public SLong(final long 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) {
        SNumber result;
        if (number instanceof SDouble) {
            result = promote().add(number);
        } else {
            result = new SLong(_value + number.getLong());
        }
        return result;
    }

    /**
     * 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) {
        SNumber result;
        if (number instanceof SDouble) {
            result = promote().subtract(number);
        } else {
            result = new SLong(_value - number.getLong());
        }
        return result;
    }

    /**
     * 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) {
        SNumber result;
        if (number instanceof SDouble) {
            result = promote().multiply(number);
        } else {
            result = new SLong(_value * number.getLong());
        }
        return result;
    }

    /**
     * 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 {
            if (number instanceof SDouble) {
                result = promote().divide(number);
            } else {
                result = new SLong(_value / number.getLong());
            }
        } 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 _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>Long</code>
     *
     * @return the value of this, wrapped in a <code>Long</code>
     */
    public Object getObject() {
        return new Long(_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 = null;
        if (obj instanceof SLong) {
            long rhs = ((SNumber) obj).getLong();
            if (_value == rhs) {
                result = SBool.TRUE;
            } else {
                result = SBool.FALSE;
            }
        } else if (obj instanceof SDouble) {
            result = promote().equal(obj);
        }
        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 = null;
        if (obj instanceof SLong) {
            long rhs = ((SNumber) obj).getLong();
            if (_value < rhs) {
                result = SBool.TRUE;
            } else {
                result = SBool.FALSE;
            }
        } else if (obj instanceof SDouble) {
            result = promote().less(obj);
        }
        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 = null;
        if (obj instanceof SLong) {
            long rhs = ((SNumber) obj).getLong();
            if (_value > rhs) {
                result = SBool.TRUE;
            } else {
                result = SBool.FALSE;
            }
        } else if (obj instanceof SDouble) {
            result = promote().greater(obj);
        }
        return result;
    }

    /**
     * Promotes this to a double
     *
     * @return the value of this as a double
     */
    private SDouble promote() {
        return new SDouble(_value);
    }

} //-- SLong

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人亚洲综合a∨婷婷| 欧美日韩一区在线| 欧美福利视频导航| 国产农村妇女毛片精品久久麻豆 | 色婷婷久久一区二区三区麻豆| 欧美丰满嫩嫩电影| 国产精品高清亚洲| 另类成人小视频在线| 在线亚洲免费视频| 欧美高清在线一区| 激情丁香综合五月| 欧美巨大另类极品videosbest | 国产麻豆精品久久一二三| 在线观看成人小视频| 欧美经典三级视频一区二区三区| 美女视频黄 久久| 欧美性受xxxx黑人xyx性爽| 国产精品高潮久久久久无| 国产呦萝稀缺另类资源| 日韩一区和二区| 日韩成人免费在线| 欧美精品丝袜久久久中文字幕| 亚洲精品视频一区| 91在线视频观看| 国产精品久久福利| 不卡视频一二三| 中文一区二区完整视频在线观看| 国产精品一区二区果冻传媒| 久久久综合视频| 国产一区二区三区免费看 | 国产在线精品一区在线观看麻豆| 欧美福利视频一区| 日韩精品国产欧美| 337p亚洲精品色噜噜狠狠| 日韩国产精品久久久久久亚洲| 欧美人伦禁忌dvd放荡欲情| 亚洲福利一二三区| 制服丝袜日韩国产| 日本午夜一本久久久综合| 日韩免费在线观看| 国产美女一区二区三区| www久久久久| 国产福利91精品一区| 欧美精彩视频一区二区三区| 91丨九色丨蝌蚪丨老版| 亚洲永久免费视频| 欧美日韩国产精品自在自线| 人人精品人人爱| 精品久久一二三区| 成人免费看视频| 亚洲国产日韩a在线播放| 欧美性猛交xxxx乱大交退制版| 五月婷婷色综合| 久久综合一区二区| 99精品久久99久久久久| 亚洲福利视频一区| 精品国产91久久久久久久妲己| 国产成人免费在线视频| 日韩美女视频一区| 欧美特级限制片免费在线观看| 免费成人你懂的| 国产精品久久久久久亚洲伦| 欧美三级乱人伦电影| 久久国产精品99久久人人澡| 亚洲欧洲在线观看av| 欧美日韩精品欧美日韩精品一综合| 久久99精品久久久久久| 中文字幕一区不卡| 欧美肥胖老妇做爰| 国产suv精品一区二区883| 一区二区三区四区乱视频| 久久网站最新地址| 在线观看免费亚洲| 国产一区二区三区综合| 一区二区三区成人在线视频| 亚洲精品一区二区三区香蕉| 99综合影院在线| 精品一区二区三区日韩| 亚洲一区视频在线| 欧美国产日本韩| 日韩一区二区视频| 色噜噜狠狠成人网p站| 国产揄拍国内精品对白| 图片区日韩欧美亚洲| **性色生活片久久毛片| 欧美电影免费观看高清完整版在| 色一情一伦一子一伦一区| 久久国产生活片100| 亚洲国产另类精品专区| 国产欧美日韩在线看| 欧美成人一级视频| 欧美性猛交一区二区三区精品| 成人免费黄色在线| 蜜臀a∨国产成人精品| 亚洲精品高清在线| 一区视频在线播放| 国产欧美精品日韩区二区麻豆天美| 精品视频在线视频| 91香蕉视频mp4| www.亚洲在线| 成a人片国产精品| 国产suv一区二区三区88区| 狠狠色丁香婷婷综合| 久久99精品国产麻豆不卡| 日韩精品国产欧美| 日本在线不卡视频一二三区| 亚洲国产欧美在线| 亚洲韩国一区二区三区| 亚洲成人动漫精品| 亚洲妇女屁股眼交7| 首页欧美精品中文字幕| 亚洲成a人在线观看| 亚洲va国产天堂va久久en| 亚洲午夜国产一区99re久久| 亚洲成人动漫av| 五月天婷婷综合| 热久久国产精品| 蜜臀久久99精品久久久久久9| 美女一区二区视频| 捆绑变态av一区二区三区| 久久国产婷婷国产香蕉| 国产乱人伦精品一区二区在线观看| 国内精品久久久久影院薰衣草| 经典一区二区三区| 国产超碰在线一区| aaa欧美色吧激情视频| 91香蕉视频mp4| 欧美猛男gaygay网站| 欧美一级高清片| 久久婷婷综合激情| 国产精品欧美极品| 亚洲美女淫视频| 丝袜亚洲另类欧美综合| 久久精品av麻豆的观看方式| 国产精品一区二区你懂的| av电影在线观看一区| 欧美视频一区在线观看| 欧美岛国在线观看| 欧美国产国产综合| 亚洲一区二区视频| 久久se精品一区二区| 成人激情免费电影网址| 欧美午夜不卡在线观看免费| 欧美一区二区成人| 国产人成一区二区三区影院| 亚洲精品成人a在线观看| 日韩电影免费一区| 懂色av一区二区三区蜜臀| jizzjizzjizz欧美| 欧美精品电影在线播放| 国产调教视频一区| 一二三区精品视频| 九九视频精品免费| 91免费国产视频网站| 欧美一三区三区四区免费在线看| 国产视频一区二区在线观看| 亚洲大片精品永久免费| 国产美女视频一区| 欧美日韩你懂得| 国产网站一区二区| 五月激情综合色| 99在线精品视频| 欧美大片日本大片免费观看| 亚洲精品国久久99热| 狠狠色丁香久久婷婷综合_中 | 国产成人av一区二区三区在线| 色狠狠综合天天综合综合| 日韩欧美久久一区| 一区二区日韩av| 国产精品一级片在线观看| 欧美麻豆精品久久久久久| 亚洲天天做日日做天天谢日日欢| 国模少妇一区二区三区| 欧洲一区二区三区免费视频| 国产精品女主播在线观看| 久久精品99国产国产精| 在线观看免费一区| 中文字幕亚洲在| 国产伦精品一区二区三区视频青涩| 欧美精品自拍偷拍| 日韩理论片网站| 岛国一区二区在线观看| 2021中文字幕一区亚洲| 琪琪久久久久日韩精品| 欧美日韩极品在线观看一区| 亚洲精品久久嫩草网站秘色| 91天堂素人约啪| 欧美国产97人人爽人人喊| 国产精品夜夜爽| 久久综合九色综合欧美亚洲| 亚洲成va人在线观看| 欧美无乱码久久久免费午夜一区| 日韩理论电影院| 91农村精品一区二区在线| 中文字幕一区二区视频| 成人精品高清在线| 国产精品久久久久9999吃药| 成人性色生活片| 亚洲视频在线观看三级| 99久久久免费精品国产一区二区|