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

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

?? state.java

?? mina是以Java實(shí)現(xiàn)的一個(gè)開源的網(wǎng)絡(luò)程序框架
?? JAVA
字號(hào):
/* *  Licensed to the Apache Software Foundation (ASF) under one *  or more contributor license agreements.  See the NOTICE file *  distributed with this work for additional information *  regarding copyright ownership.  The ASF licenses this file *  to you 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. * */package org.apache.mina.statemachine;import java.util.ArrayList;import java.util.Collections;import java.util.List;import org.apache.commons.lang.builder.EqualsBuilder;import org.apache.commons.lang.builder.HashCodeBuilder;import org.apache.commons.lang.builder.ToStringBuilder;import org.apache.mina.statemachine.event.Event;import org.apache.mina.statemachine.transition.Transition;/** * Represents a state in a {@link StateMachine}. Normally you wouldn't create  * instances of this class directly but rather use the  * {@link org.apache.mina.statemachine.annotation.State} annotation to define * your states and then let {@link StateMachineFactory} create a  * {@link StateMachine} for you. * <p>  * {@link State}s  inherits {@link Transition}s from * their parent. A {@link State} can override any of the parents  * {@link Transition}s. When an {@link Event} is processed the {@link Transition}s * of the current {@link State} will be searched for a {@link Transition} which * can handle the event. If none is found the {@link State}'s parent will be * searched and so on. * </p> * * @author The Apache MINA Project (dev@mina.apache.org) * @version $Rev: 586108 $, $Date: 2007-10-18 22:05:07 +0200 (Thu, 18 Oct 2007) $ */public class State {    private final String id;    private final State parent;    private List<TransitionHolder> transitionHolders = new ArrayList<TransitionHolder>();    private List<Transition> transitions = Collections.emptyList();        /**     * Creates a new {@link State} with the specified id.     *      * @param id the unique id of this {@link State}.     */    public State(String id) {        this(id, null);    }    /**     * Creates a new {@link State} with the specified id and parent.     *      * @param id the unique id of this {@link State}.     * @param parent the parent {@link State}.     */    public State(String id, State parent) {        this.id = id;        this.parent = parent;    }    /**     * Returns the id of this {@link State}.     *      * @return the id.     */    public String getId() {        return id;    }    /**     * Returns the parent {@link State}.     *      * @return the parent or <code>null</code> if this {@link State} has no      *         parent.     */    public State getParent() {        return parent;    }    /**     * Returns an unmodifiable {@link List} of {@link Transition}s going out     * from this {@link State}.     *      * @return the {@link Transition}s.     */    public List<Transition> getTransitions() {        return Collections.unmodifiableList(transitions);    }    private void updateTransitions() {        transitions = new ArrayList<Transition>(transitionHolders.size());        for (TransitionHolder holder : transitionHolders) {            transitions.add(holder.transition);        }    }        /**     * Adds an outgoing {@link Transition} to this {@link State} with weight 0.     *      * @param transition the {@link Transition} to add.     * @return this {@link State}.     * @see #addTransition(Transition, int)     */    public State addTransition(Transition transition) {        return addTransition(transition, 0);    }    /**     * Adds an outgoing {@link Transition} to this {@link State} with the      * specified weight. The higher the weight the less important a      * {@link Transition} is. If two {@link Transition}s match the same     * {@link Event} the {@link Transition} with the lower weight will     * be executed.     *      * @param transition the {@link Transition} to add.     * @return this {@link State}.     */    public State addTransition(Transition transition, int weight) {        if (transition == null) {            throw new NullPointerException("transition");        }        transitionHolders.add(new TransitionHolder(transition, weight));        Collections.sort(transitionHolders);        updateTransitions();        return this;    }        @Override    public boolean equals(Object o) {        if (!(o instanceof State)) {            return false;        }        if (o == this) {            return true;        }        State that = (State) o;        return new EqualsBuilder().append(this.id, that.id).isEquals();    }    @Override    public int hashCode() {        return new HashCodeBuilder(13, 33).append(this.id).toHashCode();    }    @Override    public String toString() {        return new ToStringBuilder(this).append("id", this.id).toString();    }    private static class TransitionHolder implements Comparable<TransitionHolder> {        Transition transition;        int weight;        TransitionHolder(Transition transition, int weight) {            this.transition = transition;            this.weight = weight;        }        public int compareTo(TransitionHolder o) {            return (weight > o.weight) ? 1 : (weight < o.weight ? -1 : 0);        }    }}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品中文字幕一区二区小辣椒| 国产日韩欧美一区二区三区乱码 | 欧美性色综合网| 亚洲另类一区二区| 欧美视频在线不卡| 午夜精品久久久久久久| 884aa四虎影成人精品一区| 美女尤物国产一区| 久久久久久久久久久久久久久99| 国产盗摄女厕一区二区三区| 亚洲一区二区三区中文字幕在线| 欧美视频一二三区| 蜜桃视频在线观看一区| 2021国产精品久久精品| 丁香桃色午夜亚洲一区二区三区| 国产精品入口麻豆九色| 在线观看日韩精品| 久久电影网站中文字幕| 亚洲国产成人午夜在线一区| 色老综合老女人久久久| 日本在线不卡视频一二三区| 国产亚洲自拍一区| 在线这里只有精品| 紧缚奴在线一区二区三区| 中文字幕av一区 二区| 欧美吞精做爰啪啪高潮| 国内精品伊人久久久久av影院 | 日本道精品一区二区三区| 五月天激情小说综合| 国产亚洲一区二区在线观看| 色婷婷综合激情| 久久国产精品色| 一区二区三区四区不卡在线| 日韩午夜精品视频| 91在线观看高清| 捆绑紧缚一区二区三区视频| 亚洲欧美在线视频| 日韩免费观看高清完整版在线观看| 国产成人免费视频精品含羞草妖精| 亚洲一区二区不卡免费| 久久久精品人体av艺术| 欧美顶级少妇做爰| 91蜜桃免费观看视频| 国产伦精一区二区三区| 午夜免费欧美电影| ㊣最新国产の精品bt伙计久久| 欧美一区二区三区视频免费播放| av影院午夜一区| 国产一区二区精品久久99| 亚洲成人综合视频| 最新日韩av在线| 国产夜色精品一区二区av| 欧美一区二区福利在线| 欧美性xxxxxxxx| 92精品国产成人观看免费| 国产一区不卡在线| 免费三级欧美电影| 午夜精品福利一区二区三区蜜桃| 18成人在线视频| 欧美国产国产综合| 久久精品综合网| 精品国产电影一区二区| 91精品国产色综合久久| 欧美色电影在线| 在线视频你懂得一区二区三区| 成人一区二区三区视频在线观看| 久99久精品视频免费观看| 首页亚洲欧美制服丝腿| 亚洲高清视频在线| 亚洲国产一区在线观看| 亚洲卡通动漫在线| 亚洲乱码国产乱码精品精的特点| 国产精品美女一区二区在线观看| 久久嫩草精品久久久久| 精品蜜桃在线看| 欧美r级在线观看| 精品久久久久久久久久久久包黑料| 欧美一区二区三区在线电影| 欧美美女网站色| 91精品国产91热久久久做人人| 欧美日产在线观看| 这里只有精品99re| 日韩欧美国产三级| ww亚洲ww在线观看国产| 久久精品人人做| 日韩一区在线看| 夜夜嗨av一区二区三区网页| 亚洲精品菠萝久久久久久久| 亚洲欧美乱综合| 亚洲成人一二三| 美腿丝袜亚洲色图| 国产乱淫av一区二区三区| 国产成人av自拍| av电影天堂一区二区在线观看| 99精品视频一区二区三区| 色婷婷一区二区| 91精品国产欧美日韩| 精品国产亚洲在线| 中文av字幕一区| 亚洲综合丝袜美腿| 麻豆国产精品一区二区三区 | 日本一不卡视频| 国产一区福利在线| 99久久综合国产精品| 色婷婷综合久色| 欧美一区二区在线免费播放| 久久综合久久综合九色| 18欧美乱大交hd1984| 午夜电影一区二区三区| 国产最新精品免费| 成人高清免费在线播放| 91福利在线观看| 日韩欧美第一区| 一区二区中文字幕在线| 日本在线不卡视频| av中文字幕在线不卡| 欧美日韩第一区日日骚| 国产蜜臀97一区二区三区| 亚洲精品国产a| 精品在线亚洲视频| 日本高清不卡一区| 精品福利av导航| 一区二区三区在线不卡| 狠狠色丁香久久婷婷综合丁香| 99久久精品免费| 欧美成人r级一区二区三区| 亚洲视频免费在线| 美女尤物国产一区| 在线看国产日韩| 久久久精品综合| 丝袜诱惑制服诱惑色一区在线观看 | 国产亚洲欧美日韩日本| 一区二区三区国产豹纹内裤在线| 寂寞少妇一区二区三区| 欧美网站一区二区| 国产精品对白交换视频| 激情都市一区二区| 欧美亚洲免费在线一区| 国产精品久久午夜夜伦鲁鲁| 日产国产高清一区二区三区| 欧美tk—视频vk| 亚洲一二三专区| 成人福利视频网站| 久久嫩草精品久久久久| 日本伊人精品一区二区三区观看方式 | 国产资源在线一区| 欧美日本在线看| 亚洲主播在线观看| 99视频在线精品| 欧美激情在线看| 国产乱码精品1区2区3区| 日韩午夜三级在线| 日韩一区欧美二区| 欧美色综合久久| 一区二区三区美女| 一本高清dvd不卡在线观看| 国产欧美日本一区视频| 国产一区啦啦啦在线观看| 日韩欧美高清在线| 奇米精品一区二区三区四区| 精品视频一区二区三区免费| 亚洲免费观看视频| 91免费看`日韩一区二区| 国产精品国产自产拍高清av| 丁香亚洲综合激情啪啪综合| 久久久高清一区二区三区| 久久精品国产亚洲高清剧情介绍| 这里只有精品99re| 美脚の诱脚舐め脚责91| 日韩视频一区在线观看| 蜜臀久久99精品久久久画质超高清| 精品视频免费在线| 亚洲成人高清在线| 91精品国产一区二区人妖| 日韩av一级片| 欧美tickling网站挠脚心| 国精产品一区一区三区mba桃花| 精品国产伦理网| 粉嫩高潮美女一区二区三区| 国产精品免费观看视频| 91污片在线观看| 亚洲影视资源网| 777亚洲妇女| 美女一区二区三区| 久久久久久久久久久久久久久99| 国产高清不卡一区二区| 国产精品久99| 精品视频资源站| 极品销魂美女一区二区三区| 精品久久久久一区| 成人免费毛片片v| 一区二区三区在线播放| 91精品一区二区三区在线观看| 美女精品一区二区| 国产精品色眯眯| 欧美日韩视频在线一区二区| 麻豆精品在线观看| 亚洲欧洲精品一区二区精品久久久| 色哟哟亚洲精品| 久草精品在线观看|