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

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

?? unsynchronizedarraystack.java

?? chess 一個beguanyu國際象棋的一個Java源碼
?? JAVA
字號:
/*        UnsychronizedArrayStack - A unsynchronized stack class (based on an array)	                          for better performance with small stack sizes.        Copyright (C) 2003 The Java-Chess team <info@java-chess.de>        This program is free software; you can redistribute it and/or        modify it under the terms of the GNU General Public License        as published by the Free Software Foundation; either version 2        of the License, or (at your option) any later version.        This program is distributed in the hope that it will be useful,        but WITHOUT ANY WARRANTY; without even the implied warranty of        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        GNU General Public License for more details.        You should have received a copy of the GNU General Public License        along with this program; if not, write to the Free Software        Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.*/       package de.java_chess.javaChess.util;import java.util.*;/** * This class implements a stack data structure with no synchronization * for better performance (compared to the standard J2 Stack implementation). * It uses a array, instead of a linked list. */public class UnsynchronizedArrayStack {    // Instance variables    /**     * An array to store the items on the stack.     */    private Object [] _items;    /**     * The current number of items on the stack.     */    private int _nItems;    /**     * The size for the stack increment, if it's currently too small.     */    private int _incSize = 10;    // Constructors        /**     * Create a new stack instance.     */    public UnsynchronizedArrayStack() {	this( 30);    }    /**     * Create a new stack instance with a given initial     * capacity.     *     * @param capacity The initial capacity.     */    public UnsynchronizedArrayStack( int capacity) {	_nItems = 0;	_items = new Object[ capacity];    }    // Methods    /**     * Test, if this stack is empty.     *     * @return true, if the stack is empty. False otherwise.     */    public final boolean empty() {	return _nItems == 0;    }    /**     * Look at the object, that is at the top of the stack without removing it.     *     * @return The object at the top of the stack.     */    public final Object peek() {	return empty() ? null : _items[ _nItems - 1];    }    /**     * Remove the object at the top of the stack and return it.     *     * @return The object at the top of the stack.     */    public final Object pop() {	if( ! empty()) {	    Object item = _items[ --_nItems];	    _items[ _nItems] = null;	    return item;	}	return null;    }    /**     * Push an item on the stack.     *     * @param item The item to push on the stack.     */    public final void push( Object item) {	try {	    _items[ _nItems] = item;	    _nItems++;	} catch( ArrayIndexOutOfBoundsException ae) {	    increaseCapacity();	    push( item);	}    }    /**     * Return the position of a object on the stack, or -1 if it     * is not found.     *     * @return The position of the object on the stack.     */    public final int search( Object o) {	for( int i = 0; i < _nItems; i++) {	    if( _items[i].equals( o)) {		return i;	    }	}	return -1;    }    /**     * Remove all the elements of the stack.     */    public final void clear() {	for( int i = 0; i < _nItems; i++) {	    _items[ i] = null;	}	_nItems = 0;    }        /**     * Get the current number of elements on the stack.     *     * @param The current size of the stack.     */    public final int size() {	return _nItems;    }    /**     * Get a iterator for the elements of this stack.     *     * @return A iterator for the elements of this stack.     */    public final Iterator iterator() {	return new ArrayStackIterator( _items, _nItems);    }    /**     * Increase the capacity of the stack.     */    private final void increaseCapacity() {	// Create a new bigger array.	Object [] newStack = new Object[ _items.length + _incSize];	// Copy the content of the old array to the new one.	System.arraycopy( _items, 0, newStack, 0, _nItems);	// Set the new array.	_items = newStack;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
五月天国产精品| 一区二区三区四区中文字幕| 欧美性淫爽ww久久久久无| 国产高清一区日本| 国产精品伊人色| 国产一区二区视频在线播放| 精品亚洲porn| 成人综合在线视频| 高清不卡一区二区在线| 成人av网站免费| www.欧美.com| 91麻豆国产精品久久| 欧洲另类一二三四区| 欧美日韩一区二区三区四区五区| 欧美视频一二三区| 911精品国产一区二区在线| 日韩欧美成人激情| 久久久久久97三级| 亚洲欧美自拍偷拍色图| 亚洲与欧洲av电影| 免费观看在线色综合| 国产精品一二三四区| 91在线码无精品| 日韩视频在线一区二区| 国产清纯在线一区二区www| 日韩一区在线看| 石原莉奈在线亚洲三区| 国产成人一区在线| 色94色欧美sute亚洲线路二| 91精品国产综合久久国产大片| 久久夜色精品一区| 亚洲欧美日韩国产一区二区三区| 天堂va蜜桃一区二区三区漫画版 | 亚洲一卡二卡三卡四卡| 亚洲与欧洲av电影| 国产91丝袜在线18| 欧美性高清videossexo| 精品国产免费一区二区三区香蕉 | 色哟哟日韩精品| 日韩一级片在线观看| 亚洲欧美在线另类| 国内精品嫩模私拍在线| 色天天综合久久久久综合片| 日韩欧美一二三| 夜色激情一区二区| 懂色av一区二区在线播放| 欧美精品在线观看播放| 亚洲日本丝袜连裤袜办公室| 狠狠网亚洲精品| 欧美亚洲动漫制服丝袜| 国产精品麻豆99久久久久久| 日本一不卡视频| 欧美性一区二区| 国产精品成人一区二区艾草| 国产一区二区三区免费看| 欧美日韩国产综合久久| 亚洲乱码国产乱码精品精的特点| 国产专区欧美精品| 日韩一级欧美一级| 亚洲国产va精品久久久不卡综合| 粉嫩aⅴ一区二区三区四区| 日韩午夜在线观看| 视频一区视频二区在线观看| 欧美亚洲丝袜传媒另类| 亚洲视频每日更新| av亚洲精华国产精华精华 | 亚洲特黄一级片| 国产精品一区专区| 久久亚洲综合色一区二区三区| 日韩精品一区第一页| 欧美一区二区精品久久911| 亚洲.国产.中文慕字在线| 色av成人天堂桃色av| 一区二区三区四区高清精品免费观看| 成人av网站免费| 136国产福利精品导航| 99国产精品久久久久| 自拍偷拍亚洲激情| 色综合久久九月婷婷色综合| 最新国产成人在线观看| 欧美在线制服丝袜| 婷婷综合五月天| 欧美一区二区视频在线观看2020| 日本不卡视频一二三区| ww亚洲ww在线观看国产| 国产黄色精品网站| 国产精品视频麻豆| 在线观看中文字幕不卡| 丝袜亚洲精品中文字幕一区| 日韩一区二区影院| 从欧美一区二区三区| 亚洲精品美腿丝袜| 日韩三级视频在线观看| 久久97超碰国产精品超碰| 久久久久九九视频| 91美女蜜桃在线| 亚洲va国产va欧美va观看| 日韩三级精品电影久久久| 国产麻豆一精品一av一免费 | 精品久久久久久久久久久院品网| 九九九久久久精品| 中文字幕一区二区三区在线不卡 | 国产福利一区二区三区视频 | 粉嫩av一区二区三区粉嫩| 国产精品久久久一区麻豆最新章节| 99精品一区二区| 天天影视网天天综合色在线播放| 欧美成va人片在线观看| av亚洲精华国产精华| 视频一区视频二区中文字幕| 久久精品人人做人人爽人人| 91美女蜜桃在线| 国产在线播放一区三区四| 亚洲免费在线视频| 欧美一区二区精品| 91色|porny| 国产最新精品免费| 亚洲国产精品久久一线不卡| 久久久国产午夜精品| 欧美久久久久久久久久| 国产成人精品免费视频网站| 亚洲国产精品欧美一二99| 欧美国产精品一区二区三区| 欧美一级艳片视频免费观看| 91免费视频观看| 国产精品99久久久| 久久国产精品99久久久久久老狼| 一区二区三区波多野结衣在线观看| 久久青草欧美一区二区三区| 欧美人伦禁忌dvd放荡欲情| 成人激情图片网| 九色综合狠狠综合久久| 丝袜诱惑制服诱惑色一区在线观看 | 日韩精品乱码av一区二区| 亚洲精选一二三| 国产精品乱码一区二区三区软件| 91精品国产黑色紧身裤美女| 色久优优欧美色久优优| 成人精品在线视频观看| 国产麻豆成人精品| 另类小说视频一区二区| 舔着乳尖日韩一区| 性欧美疯狂xxxxbbbb| 一区二区三区四区亚洲| 亚洲精品少妇30p| 最好看的中文字幕久久| 中文字幕日韩av资源站| 1000精品久久久久久久久| 久久九九久久九九| 久久久久高清精品| 久久先锋资源网| 久久婷婷色综合| 国产清纯白嫩初高生在线观看91 | 国产一区在线视频| 日本成人中文字幕| 奇米精品一区二区三区四区| 日本亚洲最大的色成网站www| 亚洲成人中文在线| 日韩av一二三| 免费人成在线不卡| 久久国产精品露脸对白| 国产精品99久久久久久久女警| 国产精品18久久久| 99精品欧美一区二区三区小说 | 亚洲男同1069视频| 亚洲黄色在线视频| 亚洲国产视频一区| 婷婷夜色潮精品综合在线| 奇米精品一区二区三区四区 | 男男视频亚洲欧美| 久久精品国产一区二区| 精品一区免费av| 成人免费av在线| 欧美性受xxxx| 日韩午夜中文字幕| 国产精品久久久久久亚洲毛片 | 日韩一区二区免费高清| 国产日产欧美一区二区三区| 国产精品色一区二区三区| 亚洲精品中文在线观看| 亚洲成人激情综合网| 狠狠色狠狠色合久久伊人| 99视频一区二区| 欧美精品123区| 国产亚洲精品福利| 亚洲综合色区另类av| 美脚の诱脚舐め脚责91| bt欧美亚洲午夜电影天堂| 欧美日韩国产片| 久久综合九色欧美综合狠狠| 欧美高清在线一区| 五月激情综合网| 成a人片国产精品| 欧美一级黄色录像| 自拍视频在线观看一区二区| 九九精品一区二区| 欧美色男人天堂| 国产精品免费av| 精品在线免费观看| 精品视频1区2区3区|