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

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

?? jobdatamap.java

?? Java中非常實用流控制工具
?? JAVA
字號:

/* 
 * Copyright 2004-2005 OpenSymphony 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 * use this file except in compliance with the License. You may obtain a copy 
 * of the License at 
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0 
 *   
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 
 * License for the specific language governing permissions and limitations 
 * under the License.
 * 
 */

/*
 * Previously Copyright (c) 2001-2004 James House
 */
package org.quartz;

import java.io.Serializable;
import java.util.Map;

import org.quartz.utils.StringKeyDirtyFlagMap;

/**
 * <p>
 * Holds state information for <code>Job</code> instances.
 * </p>
 * 
 * <p>
 * <code>JobDataMap</code> instances are stored once when the <code>Job</code>
 * is added to a scheduler. They are also re-persisted after every execution of
 * <code>StatefulJob</code> instances.
 * </p>
 * 
 * <p>
 * <code>JobDataMap</code> instances can also be stored with a 
 * <code>Trigger</code>.  This can be useful in the case where you have a Job
 * that is stored in the scheduler for regular/repeated use by multiple 
 * Triggers, yet with each independent triggering, you want to supply the
 * Job with different data inputs.  
 * </p>
 * 
 * <p>
 * The <code>JobExecutionContext</code> passed to a Job at execution time 
 * also contains a convenience <code>JobDataMap</code> that is the result
 * of merging the contents of the trigger's JobDataMap (if any) over the
 * Job's JobDataMap (if any).  
 * </p>
 * 
 * @see Job
 * @see StatefulJob
 * @see Trigger
 * @see JobExecutionContext
 * 
 * @author James House
 */
public class JobDataMap extends StringKeyDirtyFlagMap implements Serializable {

    private static final long serialVersionUID = -6939901990106713909L;
    
    /*
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     * 
     * Data members.
     * 
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     */

    /**
     * <p>
     * Create an empty <code>JobDataMap</code>.
     * </p>
     */
    public JobDataMap() {
        super(15);
    }

    /**
     * <p>
     * Create a <code>JobDataMap</code> with the given data.
     * </p>
     */
    public JobDataMap(Map map) {
        this();

        putAll(map);
    }

    /*
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     * 
     * Interface.
     * 
     * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     */

    /**
     * <p>
     * Adds the given <code>boolean</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, boolean value) {
        String strValue = new Boolean(value).toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>Boolean</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, Boolean value) {
        String strValue = value.toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>char</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, char value) {
        String strValue = new Character(value).toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>Character</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, Character value) {
        String strValue = value.toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>double</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, double value) {
        String strValue = new Double(value).toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>Double</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, Double value) {
        String strValue = value.toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>float</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, float value) {
        String strValue = new Float(value).toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>Float</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, Float value) {
        String strValue = value.toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>int</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, int value) {
        String strValue = new Integer(value).toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>Integer</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, Integer value) {
        String strValue = value.toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>long</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, long value) {
        String strValue = new Long(value).toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Adds the given <code>Long</code> value as a string version to the
     * <code>Job</code>'s data map.
     * </p>
     */
    public void putAsString(String key, Long value) {
        String strValue = value.toString();

        super.put(key, strValue);
    }

    /**
     * <p>
     * Retrieve the identified <code>int</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public int getIntFromString(String key) {
        Object obj = get(key);

        return new Integer((String) obj).intValue();
    }

    /**
     * <p>
     * Retrieve the identified <code>int</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String or Integer.
     */
    public int getIntValue(String key) {
        Object obj = get(key);

        if(obj instanceof String) {
            return getIntFromString(key);
        } else {
            return getInt(key);
        }
    }
    
    /**
     * <p>
     * Retrieve the identified <code>int</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public Integer getIntegerFromString(String key) {
        Object obj = get(key);

        return new Integer((String) obj);
    }

    /**
     * <p>
     * Retrieve the identified <code>boolean</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public boolean getBooleanValueFromString(String key) {
        Object obj = get(key);

        return new Boolean((String) obj).booleanValue();
    }

    /**
     * <p>
     * Retrieve the identified <code>boolean</code> value from the 
     * <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String or Boolean.
     */
    public boolean getBooleanValue(String key) {
        Object obj = get(key);

        if(obj instanceof String) {
            return getBooleanValueFromString(key);
        } else {
            return getBoolean(key);
        }
    }

    /**
     * <p>
     * Retrieve the identified <code>Boolean</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public Boolean getBooleanFromString(String key) {
        Object obj = get(key);

        return new Boolean((String) obj);
    }

    /**
     * <p>
     * Retrieve the identified <code>char</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public char getCharFromString(String key) {
        Object obj = get(key);

        return ((String) obj).charAt(0);
    }

    /**
     * <p>
     * Retrieve the identified <code>Character</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public Character getCharacterFromString(String key) {
        Object obj = get(key);

        return new Character(((String) obj).charAt(0));
    }

    /**
     * <p>
     * Retrieve the identified <code>double</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public double getDoubleValueFromString(String key) {
        Object obj = get(key);

        return new Double((String) obj).doubleValue();
    }

    /**
     * <p>
     * Retrieve the identified <code>double</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String or Double.
     */
    public double getDoubleValue(String key) {
        Object obj = get(key);

        if(obj instanceof String) {
            return getDoubleValueFromString(key);
        } else {
            return getDouble(key);
        }
    }

    /**
     * <p>
     * Retrieve the identified <code>Double</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public Double getDoubleFromString(String key) {
        Object obj = get(key);

        return new Double((String) obj);
    }

    /**
     * <p>
     * Retrieve the identified <code>float</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public float getFloatValueFromString(String key) {
        Object obj = get(key);

        return new Float((String) obj).floatValue();
    }

    /**
     * <p>
     * Retrieve the identified <code>float</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String or Float.
     */
    public float getFloatValue(String key) {
        Object obj = get(key);

        if(obj instanceof String) {
            return getFloatValueFromString(key);
        } else {
            return getFloat(key);
        }
    }
    
    /**
     * <p>
     * Retrieve the identified <code>Float</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public Float getFloatFromString(String key) {
        Object obj = get(key);

        return new Float((String) obj);
    }

    /**
     * <p>
     * Retrieve the identified <code>long</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public long getLongValueFromString(String key) {
        Object obj = get(key);

        return new Long((String) obj).longValue();
    }

    /**
     * <p>
     * Retrieve the identified <code>long</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String or Long.
     */
    public long getLongValue(String key) {
        Object obj = get(key);

        if(obj instanceof String) {
            return getLongValueFromString(key);
        } else {
            return getLong(key);
        }
    }
    
    /**
     * <p>
     * Retrieve the identified <code>Long</code> value from the <code>JobDataMap</code>.
     * </p>
     * 
     * @throws ClassCastException
     *           if the identified object is not a String.
     */
    public Long getLongFromString(String key) {
        Object obj = get(key);

        return new Long((String) obj);
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲精品福利| 久久精品av麻豆的观看方式| 日本一不卡视频| 99re成人精品视频| 26uuu久久综合| 欧美一区二区三区视频免费播放 | 欧美夫妻性生活| 在线观看成人小视频| 在线免费观看成人短视频| 欧美主播一区二区三区美女| 欧美绝品在线观看成人午夜影视| 欧美一级片在线| 国产清纯白嫩初高生在线观看91| 久久精品综合网| 色系网站成人免费| 中文字幕在线免费不卡| 国产资源在线一区| 欧美成人a视频| 免费成人在线播放| 欧美一区二区三区不卡| 日韩国产精品久久| 欧美日韩亚洲高清一区二区| 亚洲国产精品人人做人人爽| 91在线观看一区二区| 国产精品国产馆在线真实露脸| 国产精品18久久久久久久网站| 精品99久久久久久| 精品制服美女久久| 精品捆绑美女sm三区| 久久狠狠亚洲综合| 亚洲精品一区二区三区影院| 欧美三级电影在线看| 日韩精品综合一本久道在线视频| 中文在线一区二区 | 日韩欧美国产高清| 亚洲视频一区在线观看| 免费观看日韩av| eeuss鲁一区二区三区| 欧美精品 日韩| 国产精品卡一卡二卡三| 日本欧美一区二区| 色综合久久久久综合体| 精品精品国产高清a毛片牛牛| 一区二区在线观看视频| 国产一区啦啦啦在线观看| 欧洲精品一区二区三区在线观看| 欧美激情综合五月色丁香| 日韩精品一二三区| 97久久精品人人爽人人爽蜜臀| 日韩三区在线观看| 午夜视频在线观看一区| av一区二区三区在线| 精品99一区二区| 午夜视频一区在线观看| 色偷偷成人一区二区三区91| 日本韩国欧美在线| 依依成人综合视频| 欧美电影免费观看高清完整版在线观看| 国产一区二三区| 日韩理论片一区二区| 91精品国产综合久久久蜜臀图片| 国产成人免费在线| 麻豆精品一区二区综合av| 7799精品视频| 成人一区二区三区中文字幕| 一区二区三区日本| 欧美tickling挠脚心丨vk| 91小视频免费看| 精品在线亚洲视频| 亚洲精品视频一区| 精品国产一区二区亚洲人成毛片| 色综合天天综合狠狠| 美国三级日本三级久久99| 99久久99久久精品免费看蜜桃| 91精品国产一区二区人妖| 日本欧美韩国一区三区| 日韩一区二区免费视频| 麻豆成人免费电影| 91精品国产一区二区三区蜜臀| 全国精品久久少妇| www国产亚洲精品久久麻豆| 美女任你摸久久| www亚洲一区| 成人av电影在线播放| 中文字幕一区二区三| 色狠狠一区二区三区香蕉| 亚洲国产精品久久人人爱蜜臀| 欧美日韩国产综合视频在线观看| 日韩国产精品久久久| 欧美成人官网二区| 粉嫩在线一区二区三区视频| 国产精品入口麻豆原神| 91女厕偷拍女厕偷拍高清| 亚洲精品国产无天堂网2021| 欧美精品日韩一区| 国产精品99久久久| 亚洲男女毛片无遮挡| 欧美日韩黄色一区二区| 极品瑜伽女神91| 欧洲av一区二区嗯嗯嗯啊| 蜜臀av一区二区在线观看| 午夜久久久久久久久久一区二区| 亚洲你懂的在线视频| 中文字幕中文字幕在线一区| 久久亚洲欧美国产精品乐播| 欧美成人伊人久久综合网| 欧美一级在线观看| 日韩一级免费观看| 欧美一区二区三区不卡| 日韩一级片网站| 欧美一区二区福利视频| 国产性天天综合网| 日韩免费性生活视频播放| 欧美一区午夜视频在线观看| 日韩一区二区在线观看| 日韩精品一区二区三区老鸭窝| 日韩视频免费直播| 亚洲精品在线网站| 日本一区二区三区在线观看| 国产一二三精品| 日韩一区二区影院| 色婷婷久久久综合中文字幕| 国产一区二区三区高清播放| 亚洲成人福利片| 国产精品不卡视频| 久久久美女艺术照精彩视频福利播放| 欧美日韩一区二区三区免费看 | 国产精品天天摸av网| 国产午夜精品一区二区三区嫩草 | 亚洲高清免费在线| 成人黄色777网| 色乱码一区二区三区88| 成人性色生活片| a在线欧美一区| 欧美中文字幕一二三区视频| 欧美日韩一区二区三区免费看| 91精品福利在线一区二区三区| 久久综合99re88久久爱| 亚洲精品久久久蜜桃| 性欧美疯狂xxxxbbbb| 精品一区二区三区免费| 不卡视频一二三| 欧美电影一区二区三区| 欧美成人一区二区| 亚洲色图丝袜美腿| 日韩国产高清影视| 丰满岳乱妇一区二区三区| 亚洲免费成人av| 久久久久久久久久久久久夜| 日韩区在线观看| 精品成人免费观看| 久久女同精品一区二区| 久久女同精品一区二区| 丁香婷婷深情五月亚洲| 99久久精品国产毛片| 日韩欧美国产一二三区| 一区二区三区中文字幕在线观看| 久久精品噜噜噜成人av农村| 91一区二区在线观看| 欧美精品一区二区三区一线天视频| 17c精品麻豆一区二区免费| 麻豆精品一区二区三区| 欧美在线观看禁18| 欧美高清在线一区二区| 美女视频黄 久久| 91福利国产精品| 国产精品麻豆久久久| 久久99久久99精品免视看婷婷| 国产一区福利在线| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 亚洲免费观看高清完整版在线| 久久se精品一区二区| 欧洲亚洲精品在线| 国产精品嫩草影院com| 国模少妇一区二区三区| 91精品国产手机| 亚洲成人一区二区| 色综合欧美在线| 中文字幕在线一区免费| 国产成a人无v码亚洲福利| 日韩欧美国产wwwww| 偷窥少妇高潮呻吟av久久免费| 日本伦理一区二区| 亚洲欧洲美洲综合色网| 成人免费看视频| 中文字幕电影一区| 成人午夜视频在线观看| 国产欧美精品一区二区三区四区| 麻豆免费看一区二区三区| 欧美一区二区三区系列电影| 日本成人中文字幕在线视频| 在线播放欧美女士性生活| 图片区小说区国产精品视频| 欧美日韩免费观看一区三区| 亚洲欧洲制服丝袜| 色婷婷av一区二区| 亚洲成人激情av| 91精品国产乱码| 日韩三级av在线播放| 国产精品视频第一区|