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

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

?? queuearray.html

?? 學(xué)習(xí)JAVA的很好的JAVA包和文檔包
?? HTML
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Fri Aug 23 13:18:18 EDT 2002 --><TITLE>: Class  QueueArray</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href=../copyright.html target=_top>&copy; 1998-2002 McGraw-Hill</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../structure/PriorityVector.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../structure/QueueList.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="QueueArray.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">structure</FONT><BR>Class  QueueArray</H2><PRE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">java.lang.Object</A>  |  +--<A HREF="../structure/AbstractStructure.html">structure.AbstractStructure</A>        |        +--<A HREF="../structure/AbstractLinear.html">structure.AbstractLinear</A>              |              +--<A HREF="../structure/AbstractQueue.html">structure.AbstractQueue</A>                    |                    +--<B>structure.QueueArray</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../structure/Linear.html">Linear</A>, <A HREF="../structure/Queue.html">Queue</A>, <A HREF="../structure/Structure.html">Structure</A></DD></DL><HR><DL><DT>public class <B>QueueArray</B><DT>extends <A HREF="../structure/AbstractQueue.html">AbstractQueue</A><DT>implements <A HREF="../structure/Queue.html">Queue</A></DL><P>An implementation of queues based on arrays. The head of the queue starts out at the head of the array, allowing the queue to  grow and shrink in constant time.  This queue implementation is ideal for  applications that require a queue with a known maximum size that expands  in constant time. <P> Example usage: <P> To compute the sum of the unicode value of every character in the standard input we could use the following: <P> <pre> public static void main(String[] arguments) {     int charsInInput = QueueExample.countChars(argument);     <A HREF="../structure/QueueArray.html"><CODE>QueueArray</CODE></A> q = new <A HREF="../structure/QueueArray.html#QueueArray(int)"><CODE>QueueArray(charsInInput)</CODE></A>;     int unicodeSum = 0;     if(arguments.length > 0){         for(int i=0; i < arguments.length; i++){	       for(int j=0; j < arguments[i].length(); j++){		   q.<A HREF="../structure/AbstractQueue.html#enqueue(java.lang.Object)"><CODE>enqueue(new Character(arguments[i].charAt(j)))</CODE></A>;	       }	   }     }     while(!q.<A HREF="../structure/AbstractLinear.html#empty()"><CODE>AbstractLinear.empty()</CODE></A>){	  char c = ((Character)q.<A HREF="../structure/AbstractQueue.html#dequeue()"><CODE>AbstractQueue.dequeue()</CODE></A>).charValue();	  unicodeSum+=Character.getNumericValue(c);     }     System.out.println("Total Value: " + unicodeSum); } </pre><P><DL><DT><B>See Also: </B><DD><A HREF="../structure/QueueList.html"><CODE>QueueList</CODE></A>, <A HREF="../structure/QueueVector.html"><CODE>QueueVector</CODE></A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#count">count</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;current size of queue</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#data">data</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The references to values stored within the queue.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#head">head</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index of the head of queue.</TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../structure/QueueArray.html#QueueArray(int)">QueueArray</A></B>(int&nbsp;size)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a queue holding at most size elements.</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#add(java.lang.Object)">add</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a value to the tail of the queue.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#clear()">clear</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove all the values from the queue.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#get()">get</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetch the value at the head of the queue.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#isEmpty()">isEmpty</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine if the queue is empty.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#isFull()">isFull</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if the queue is not able to accept any new values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Iterator.html">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#iterator()">iterator</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator for traversing the structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#remove()">remove</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a value from the head of the queue.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#size()">size</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine the number of elements within the queue</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../structure/QueueArray.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a string representation of the queue.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_structure.AbstractQueue"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class structure.<A HREF="../structure/AbstractQueue.html">AbstractQueue</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../structure/AbstractQueue.html#dequeue()">dequeue</A>, <A HREF="../structure/AbstractQueue.html#enqueue(java.lang.Object)">enqueue</A>, <A HREF="../structure/AbstractQueue.html#getFirst()">getFirst</A>, <A HREF="../structure/AbstractQueue.html#peek()">peek</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_structure.AbstractLinear"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class structure.<A HREF="../structure/AbstractLinear.html">AbstractLinear</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../structure/AbstractLinear.html#empty()">empty</A>, <A HREF="../structure/AbstractLinear.html#remove(java.lang.Object)">remove</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_structure.AbstractStructure"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class structure.<A HREF="../structure/AbstractStructure.html">AbstractStructure</A></B></TD>

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产欧美在线观看| 丝袜国产日韩另类美女| 不卡大黄网站免费看| 五月婷婷久久丁香| 国产精品妹子av| 6080国产精品一区二区| aaa国产一区| 久久99精品久久久久久动态图| 一区二区不卡在线视频 午夜欧美不卡在| 欧美成人高清电影在线| 欧美亚洲综合在线| 91网站黄www| 国产精品 欧美精品| 奇米一区二区三区av| 一区二区国产盗摄色噜噜| 亚洲国产成人自拍| 久久色.com| 欧美变态口味重另类| 欧美日韩国产成人在线91| 91国产免费看| 91女厕偷拍女厕偷拍高清| 国产成人午夜片在线观看高清观看| 奇米在线7777在线精品| 亚洲成人一二三| 一区二区三区不卡在线观看| 国产精品短视频| 国产精品午夜电影| 久久精品一区二区三区四区| 欧美一区二区三区四区久久| 欧美日韩国产bt| 欧洲精品视频在线观看| 99精品在线免费| av资源网一区| 99精品国产99久久久久久白柏| 国产高清久久久| 国内外成人在线视频| 免费美女久久99| 美腿丝袜一区二区三区| 另类小说一区二区三区| 精品一区二区三区在线视频| 久久国产精品露脸对白| 国产中文字幕精品| 国产成人精品亚洲午夜麻豆| 国产传媒久久文化传媒| 福利91精品一区二区三区| 国产盗摄女厕一区二区三区| 成人动漫中文字幕| 色综合久久中文综合久久牛| 在线亚洲欧美专区二区| 欧美日韩免费不卡视频一区二区三区| 欧美日韩在线观看一区二区| 欧美精三区欧美精三区| 69堂成人精品免费视频| 日韩三级视频在线看| 久久众筹精品私拍模特| 欧美激情综合五月色丁香| 国产精品免费av| 一区二区国产视频| 蜜桃一区二区三区在线| 国产乱子伦视频一区二区三区 | 一区二区欧美精品| 亚洲va中文字幕| 久久99国产精品免费网站| 国产精品888| 色天使色偷偷av一区二区| 欧美日韩日日骚| 久久久.com| 亚洲免费视频成人| 美腿丝袜亚洲色图| av在线不卡电影| 欧美日韩精品综合在线| 欧美xxxxxxxx| 亚洲男女毛片无遮挡| 日韩在线一区二区| 成人免费视频视频| 欧美久久久影院| 国产精品丝袜一区| 亚洲国产成人porn| 国产高清不卡一区二区| 欧美专区亚洲专区| 久久精品在这里| 亚洲v精品v日韩v欧美v专区| 国产高清成人在线| 欧美精品第1页| 中文字幕av一区二区三区免费看| 一区二区三区日韩欧美| 国产乱子伦一区二区三区国色天香 | 日韩三级视频在线看| 最新热久久免费视频| 日韩电影在线免费| av在线不卡网| 久久综合九色综合欧美98| 一区二区高清在线| 成人午夜激情片| 欧美成人伊人久久综合网| 一区二区三区 在线观看视频| 国产精品综合av一区二区国产馆| 精品视频一区二区不卡| 亚洲国产精品99久久久久久久久| 首页国产欧美久久| 在线视频一区二区免费| 中文字幕不卡在线| 激情深爱一区二区| 欧美二区在线观看| 亚洲免费av高清| 国产精品一卡二卡| 欧美一区二区三区系列电影| 亚洲色图在线看| 丁香婷婷综合色啪| 欧美精品一区二区三区视频| 亚洲成人自拍偷拍| 在线中文字幕一区| 成人欧美一区二区三区白人| 狠狠色丁香久久婷婷综合_中| 欧美日韩一二区| 一区二区三区成人| 日本精品裸体写真集在线观看| 国产精品乱码人人做人人爱| 麻豆成人91精品二区三区| 制服丝袜激情欧洲亚洲| 亚洲图片欧美视频| 在线免费视频一区二区| 亚洲人精品午夜| kk眼镜猥琐国模调教系列一区二区| www久久精品| 久久精品99国产精品| 日韩一区二区三区观看| 日日夜夜免费精品视频| 欧美日精品一区视频| 久久99精品国产麻豆婷婷洗澡| 日韩一区二区精品在线观看| 日韩va亚洲va欧美va久久| 欧美日韩一级二级| 日本亚洲视频在线| 精品乱人伦一区二区三区| 免费成人美女在线观看.| 日韩午夜在线观看视频| 免费在线观看成人| 日韩视频一区在线观看| 激情综合网av| 久久久蜜桃精品| 成人小视频在线| 亚洲人成在线播放网站岛国| 91成人免费电影| 日本一道高清亚洲日美韩| 欧美va亚洲va在线观看蝴蝶网| 另类的小说在线视频另类成人小视频在线 | 欧美一区二区精品久久911| 人人狠狠综合久久亚洲| 欧美精品一区二区三| 风间由美性色一区二区三区| 国产日韩成人精品| 91丝袜高跟美女视频| 亚洲国产欧美日韩另类综合| 正在播放亚洲一区| 老司机精品视频线观看86| 久久青草欧美一区二区三区| 成人av电影观看| 亚洲精选视频免费看| 欧美精品xxxxbbbb| 国产永久精品大片wwwapp| 最新高清无码专区| 欧美狂野另类xxxxoooo| 久久99最新地址| 国产精品剧情在线亚洲| ㊣最新国产の精品bt伙计久久| 欧美日韩五月天| 国产综合成人久久大片91| 亚洲欧美aⅴ...| 欧美一区二区国产| 成人免费精品视频| 天天影视网天天综合色在线播放 | 欧美成人猛片aaaaaaa| 成人黄页毛片网站| 婷婷开心激情综合| 国产精品美女一区二区在线观看| 日本精品一区二区三区高清| 久久精品99国产精品| 伊人一区二区三区| 精品国产1区二区| 91成人看片片| 国产成a人无v码亚洲福利| 天堂精品中文字幕在线| 国产精品色哟哟| 日韩亚洲电影在线| 色狠狠色狠狠综合| 国产精品1024| 日本女优在线视频一区二区| 成人欧美一区二区三区1314| 精品奇米国产一区二区三区| 色哟哟一区二区在线观看| 久久99精品久久久久久动态图| 亚洲一区二区三区四区在线观看| 久久精品免费在线观看| 欧美精选午夜久久久乱码6080| 不卡的av电影在线观看| 紧缚奴在线一区二区三区| 午夜欧美一区二区三区在线播放 | 国精品**一区二区三区在线蜜桃| 一区二区三区四区高清精品免费观看|