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

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

?? chainnotifier.java

?? 一個關于java 的常用工具包
?? JAVA
字號:
package org.jutil.event;import java.util.EventListener;import java.util.EventObject;import java.util.List;import java.util.LinkedList;import java.util.Iterator;/*@ model import org.jmlspecs.models.JMLObjectSequence; @*//** * @path    $Source: /cvsroot/org-jutil/jutil.org/src/org/jutil/event/ChainNotifier.java,v $ * @version $Revision: 1.4 $ * @date    $Date: 2002/07/02 15:36:20 $ * @state   $State: Exp $ * @author  Jan Dockx * @release $Name:  $ */final public class ChainNotifier implements Notifier {	/* The revision of this class */	public final static String CVS_REVISION ="$Revision: 1.4 $";  /*@    @ public behavior    @   assignable notifiers;    @   post notifiers.isEmpty();    @*/  public ChainNotifier() {    $chainElements = new LinkedList();  }    /*@    @ public behavior    @   assignable notifiers;    @   post isModelFor(notifiers, l);    @*/  private ChainNotifier(List l) {    $chainElements = new LinkedList(l);  }  /*@    @ public invariant notifiers != null;    @ public invariant (\forall Object o; notifiers.has(o); o != null);    @ public invariant (\forall Object o; notifiers.has(o);    @                     o instanceof ApplicabilityNotifier);    @*/  /*@    @ public model JMLObjectSequence notifiers;    @*/      public void notifyEventListener(EventListener listener, EventObject event) {    Iterator iter = $chainElements.iterator();    while (iter.hasNext()) {      ApplicabilityNotifier notifier = (ApplicabilityNotifier)iter.next();      if (notifier.isApplicable(listener, event)) {        notifier.notifyEventListener(listener, event);        break; // notifier has accepted the challenge, and we are done      }    }  }    /*@    @ public behavior    @   post \result == notifiers.length();    @*/  final public /*@ pure @*/ int size() {    return $chainElements.size();  }  /*@    @ public behavior    @   post \result == notifiers.isEmpty();    @*/  final public /*@ pure @*/ boolean isEmpty() {    return $chainElements.isEmpty();  }  /*@    @ public behavior    @   post \result == notifiers.has(notifier);    @*/  final public /*@ pure @*/ boolean contains(ApplicabilityNotifier notifier) {    return $chainElements.contains(notifier);  } /* JDJDJD consider adding iterators and toArray methods */  /*@    @ public behavior    @   assignable notifiers;    @   post notifiers.equals(\old(notifiers.removeItemAt(    @                                 notifiers.indexOf(notifier))));    @*/  final public void remove(ApplicabilityNotifier notifier) {    $chainElements.remove(notifier);  }  /**   * Appends the specified element to the end of this list.   */  /*@    @ public behavior    @   assignable notifiers if notifier != null;    @   post notifier != null ==>    @           notifiers.equals(\old(notifiers.insertBack(notifier)));    @*/  final public void add(ApplicabilityNotifier notifier) {    if (notifier != null) {      $chainElements.add(notifier);    }  }// Returns true if this list contains all of the elements of the specified collection.//  public boolean containsAll(ChainNotifier enc) {//    return $chainElements.containsAll(enc.getNotifiers());//  }  // Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation).//  public void addAll(ChainNotifier enc) {//    $chainElements.addAll(enc.getNotifiers());//  }// Inserts all of the elements in the specified collection into this list at the specified position (optional operation).//  public void addAll(int index, ChainNotifier enc) {//    $chainElements.addAll(index, enc.getNotifiers());//  }// Removes from this list all the elements that are contained in the specified collection (optional operation).//  public void removeAll(ChainNotifier enc) {//    $chainElements.removeAll(enc.getNotifiers());//  }// Retains only the elements in this list that are contained in the specified collection (optional operation).//  public void retainAll(ChainNotifier enc) {//    $chainElements.retainAll(enc.getNotifiers());//  }  /*@    @ public behavior    @   assignable notifiers;    @   post notifiers.isEmpty();    @*/  final public void clear() {    $chainElements.clear();  }  /*@    @ public behavior    @   post \result == notifiers.itemAt(index);    @   signals (IndexOutOfBoundsException)    @             (index < 0) || (index >= notifiers.length());    @*/ final public /*@ pure @*/ Object get(int index)      throws IndexOutOfBoundsException {    return (ApplicabilityNotifier)$chainElements.get(index);  }    /**   * Replaces the element at the specified position in this list with   * the specified element.   */  /*@    @ public behavior    @   assignable notifiers if notifier != null;    @   post notifier != null ==>    @         notifiers.equals(\old(notifiers.replaceItemAt(index, notifier)));    @   post notifier != null ==> \result == \old(notifiers.itemAt(index));    @   post notifier == null ==> \result == null;    @   signals (IndexOutOfBoundsException)    @             (index < 0) || (index >= notifiers.length());    @*/  final public ApplicabilityNotifier set(int index,                                          ApplicabilityNotifier notifier)      throws IndexOutOfBoundsException {    if (notifier == null) {      return null;    }    else {      return (ApplicabilityNotifier)$chainElements.set(index, notifier);    }  }  /**   * Inserts the specified element at the specified position in this list.   */  /*@    @ public behavior    @   assignable notifiers if notifier != null;    @   post notifier != null ==>    @         notifiers.equals(\old(notifiers.    @                                 insertBeforeIndex(index, notifier)));    @   signals (IndexOutOfBoundsException)    @             (index < 0) || (index >= notifiers.length());    @*/  public void add(int index, ApplicabilityNotifier notifier)      throws IndexOutOfBoundsException {    if (notifier != null) {      $chainElements.add(index, notifier);    }  }  /*@    @ public behavior    @   assignable notifiers;    @   post notifiers.equals(\old(notifiers.removeItemAt(index)));    @   signals (IndexOutOfBoundsException)    @             (index < 0) || (index >= notifiers.length());    @*/  public ApplicabilityNotifier remove(int index)      throws IndexOutOfBoundsException {    return (ApplicabilityNotifier)$chainElements.remove(index);  }  /**   * Returns the index in this list of the first occurrence of the specified   * element, or -1 if this list does not contain this element.   */  /*@    @ public behavior    @   post notifiers.has(notifier) ==>    @          \result == notifiers.indexOf(notifier);    @   post ! notifiers.has(notifier) ==> \result == -1;    @   ensures_redundantly \result >= -1;    @*/  public /*@ pure @*/ int indexOf(ApplicabilityNotifier notifier) {    return $chainElements.indexOf(notifier);  }  /**   * Returns the index in this list of the last occurrence of the specified   * element, or -1 if this list does not contain this element.   */  /*@    @ public behavior    @   post notifiers.has(notifier) ==>    @          \result == notifiers.length() -    @                       notifiers.reverse().indexOf(notifier);    @   post ! notifiers.has(notifier) ==> \result == -1;    @   ensures_redundantly \result >= -1;    @*/  public int lastIndexOf(ApplicabilityNotifier notifier) {    return $chainElements.lastIndexOf(notifier);  }/* JDJDJD consider adding list iterators */// Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.//  public ChainNotifier subChain(int fromIndex, int toIndex) throws IndexOutOfBoundsException {//    return new ChainNotifier($chainElements.subList(fromIndex, toIndex));//  }  /*@    @ public behavior    @   post isModelFor(notifiers, \result);    @*/  public /*@ pure @*/ List getNotifiers() {    return new LinkedList($chainElements);  }    /**   * <formal-arg>jmlSeq</formal-arg> and <formal-arg>javaList</formal-arg>   * contain the same elements in the same order.   */  /*@    @ public behavior    @   pre jmlSeq != null;    @   pre javaList != null;    @   post \result <==>    @           (jmlSeq.length() == javaList.size()) &&    @           (\forall int i; 0 <= i && i < jmlSeq.length();    @                jmlSeq.itemAt(i) == javaList.get(i));    @ static public model boolean isModelFor(JMLObjectSequence jmlSeq,    @                                         List javaList);    @*/  /*@    @ depends notifiers <- \fields_of($chainElements);        @ represents notifiers \such_that isModelFor(notifiers, $chainElements);    @ private invariant $chainElements != null;    @ private invariant (\forall Object o; $chainElements.contains(o);    @                       o != null);    @ private invariant (\forall Object o; $chainElements.contains(o);    @                     o instanceof ApplicabilityNotifier);    @*/  private List $chainElements;}/*<copyright>Copyright (C) 1997-2001. This software is copyrighted by the people and entities mentioned after the "@author" tags above, on behalf of the JUTIL.ORG Project. The copyright is dated by the dates after the "@date" tags above. All rights reserved.This software is published under the terms of the JUTIL.ORG SoftwareLicense version 1.1 or later, a copy of which has been included withthis distribution in the LICENSE file, which can also be found athttp://org-jutil.sourceforge.net/LICENSE. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the JUTIL.ORG Software License for more details. For more information,please see http://org-jutil.sourceforge.net/</copyright>/*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧日韩精品视频| 风间由美性色一区二区三区| 中文字幕视频一区| 国产精品麻豆99久久久久久| 精品电影一区二区| 久久综合九色综合欧美亚洲| 日韩视频免费直播| 精品国产伦一区二区三区观看体验 | 7777女厕盗摄久久久| 欧美私模裸体表演在线观看| 精品视频一区三区九区| 欧美亚洲综合另类| 欧美蜜桃一区二区三区| 91精品婷婷国产综合久久| 日韩视频在线永久播放| 精品国产欧美一区二区| 欧美国产成人在线| 综合久久一区二区三区| 麻豆91精品视频| 韩国午夜理伦三级不卡影院| 国产高清久久久| 91香蕉国产在线观看软件| 欧美综合色免费| 欧美成人在线直播| 欧美国产一区二区在线观看 | www.亚洲精品| 欧美色图免费看| 久久婷婷久久一区二区三区| 国产精品电影院| 日韩高清一区在线| 福利一区福利二区| 欧美日韩国产在线播放网站| 精品区一区二区| 亚洲视频免费在线观看| 日韩和欧美的一区| 国产精品一区二区在线观看网站| 成人99免费视频| 欧美成人女星排行榜| 亚洲人成在线观看一区二区| 日本不卡视频在线| 不卡的av在线| 久久先锋影音av| 亚洲图片有声小说| av在线免费不卡| 精品99久久久久久| 午夜视频一区二区三区| 91小视频免费观看| 久久精子c满五个校花| 午夜精品福利一区二区三区av| 国产成人精品免费视频网站| 91精品国产综合久久久久久漫画| 国产精品国模大尺度视频| 免费观看日韩av| 欧美日韩aaaaaa| 洋洋成人永久网站入口| 国产剧情一区二区| 欧美成人激情免费网| 亚洲18女电影在线观看| 99精品久久免费看蜜臀剧情介绍| 精品嫩草影院久久| 日日夜夜免费精品视频| 69久久夜色精品国产69蝌蚪网| 中文字幕日韩欧美一区二区三区| 国产一区欧美一区| 日韩欧美国产综合一区| 亚洲www啪成人一区二区麻豆| 成人免费毛片高清视频| 亚洲精品一区二区三区影院 | 欧美大片在线观看一区二区| 亚洲一区二区美女| 欧美综合亚洲图片综合区| 亚洲啪啪综合av一区二区三区| 高清日韩电视剧大全免费| 国产亚洲制服色| 国产一区二区免费视频| 精品国产污网站| 激情成人综合网| 久久久久亚洲蜜桃| 国产91精品在线观看| 久久久久久久久久久久久久久99 | 中文字幕日本不卡| 不卡的av电影| 亚洲女同ⅹxx女同tv| 91久久精品一区二区三区| 亚洲免费观看在线视频| 精品视频一区二区三区免费| 视频在线观看91| 日韩一区二区精品在线观看| 国产精品69毛片高清亚洲| 久久久美女毛片| 成人免费看视频| 亚洲最快最全在线视频| 欧美日韩中字一区| 国产一区在线观看麻豆| 国产校园另类小说区| 99久久国产综合精品麻豆| 亚洲欧美视频在线观看视频| 在线一区二区三区做爰视频网站| 午夜精品久久久久久久99樱桃| 日韩一区二区三区四区| 国产乱子伦视频一区二区三区| 国产欧美一区二区精品婷婷| 不卡视频在线看| 日韩精品久久久久久| 中文字幕第一区| 欧美三级一区二区| 国内精品嫩模私拍在线| 亚洲人成网站影音先锋播放| 欧美日韩aaa| 成人开心网精品视频| 亚洲一区二区三区激情| 久久综合久久综合九色| 91高清视频在线| 国产精品1区2区| 亚洲国产成人va在线观看天堂 | 成人一级片网址| 婷婷激情综合网| 欧美国产1区2区| 欧美一激情一区二区三区| 成人一区二区三区视频在线观看| 婷婷成人综合网| 亚洲精品乱码久久久久久久久| 日韩欧美国产一区在线观看| 在线看不卡av| 丁香桃色午夜亚洲一区二区三区| 视频一区国产视频| 亚洲女子a中天字幕| 久久久久久久久久电影| 欧美精品亚洲二区| aaa欧美色吧激情视频| 国产乱子轮精品视频| 午夜伦欧美伦电影理论片| 国产精品久久久久aaaa樱花| 精品福利二区三区| 中文无字幕一区二区三区| 欧美日韩日日夜夜| 色综合色综合色综合| 国产激情偷乱视频一区二区三区| 偷拍自拍另类欧美| 夜夜嗨av一区二区三区四季av| 中文字幕日本不卡| 国产精品国产自产拍高清av | 99re热这里只有精品视频| 激情综合五月婷婷| 蜜桃久久久久久| 亚洲成人激情综合网| 亚洲影院理伦片| 一区二区三区欧美激情| 亚洲免费观看高清完整版在线观看熊| 久久天天做天天爱综合色| 精品国产乱码久久久久久影片| 日韩精品一区二区三区在线| 日韩亚洲欧美在线观看| 日韩欧美精品在线视频| 欧美sm极限捆绑bd| 久久久久久久久久久久久久久99| 欧美精品一区二区三区视频| 精品国产青草久久久久福利| 久久综合九色综合97婷婷女人| 精品人在线二区三区| 精品国产乱码久久久久久1区2区 | 久久这里只有精品6| xvideos.蜜桃一区二区| 国产亚洲综合在线| 国产精品萝li| 亚洲一卡二卡三卡四卡无卡久久| 亚洲一区二区三区四区五区中文 | 国产a级毛片一区| 国产69精品久久99不卡| 色综合久久综合| 欧美日韩国产免费| 精品理论电影在线| 中文一区二区完整视频在线观看| 亚洲精品精品亚洲| 日韩激情一二三区| 国产精品系列在线观看| 色婷婷综合久久久久中文| 欧美日韩视频在线一区二区| 精品黑人一区二区三区久久| 国产精品欧美经典| 亚洲国产毛片aaaaa无费看| 久久99精品国产麻豆婷婷| 国产一区二区精品在线观看| 97精品久久久久中文字幕 | 久草中文综合在线| 99精品在线观看视频| 欧美精品1区2区| 国产欧美一区二区三区在线看蜜臀| 亚洲国产经典视频| 日韩高清不卡一区| 不卡一区二区三区四区| 日韩一区二区三区四区 | 欧美性生活久久| 欧美精品一区二区精品网| |精品福利一区二区三区| 日韩精品一级二级 | 91亚洲国产成人精品一区二三| 欧美精品色一区二区三区| 国产亚洲成av人在线观看导航| 亚洲国产人成综合网站|