| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.11) on Wed Jul 07 10:58:44 EDT 2021 --> |
| <title>BlockingArrayQueue (Eclipse Jetty API Doc - v11.0.6)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2021-07-07"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="BlockingArrayQueue (Eclipse Jetty API Doc - v11.0.6)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/BlockingArrayQueue.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.jetty.util</a></div> |
| <h2 title="Class BlockingArrayQueue" class="title">Class BlockingArrayQueue<E></h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>java.util.AbstractCollection<E></li> |
| <li> |
| <ul class="inheritance"> |
| <li>java.util.AbstractList<E></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.jetty.util.BlockingArrayQueue<E></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>E</code> - The element type</dd> |
| </dl> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code>java.lang.Iterable<E></code>, <code>java.util.Collection<E></code>, <code>java.util.concurrent.BlockingQueue<E></code>, <code>java.util.List<E></code>, <code>java.util.Queue<E></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">BlockingArrayQueue<E></span> |
| extends java.util.AbstractList<E> |
| implements java.util.concurrent.BlockingQueue<E></pre> |
| <div class="block">A BlockingQueue backed by a circular array capable or growing. |
| <p> |
| This queue is uses a variant of the two lock queue algorithm to provide an efficient queue or list backed by a growable circular array. |
| </p> |
| <p> |
| Unlike <code>ArrayBlockingQueue</code>, this class is able to grow and provides a blocking put call. |
| </p> |
| <p> |
| The queue has both a capacity (the size of the array currently allocated) and a max capacity (the maximum size that may be allocated), which defaults to |
| <code>Integer.MAX_VALUE</code>. |
| </p></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_CAPACITY">DEFAULT_CAPACITY</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Default initial capacity, 128.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_GROWTH">DEFAULT_GROWTH</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Default growth factor, 64.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="fields.inherited.from.class.java.util.AbstractList"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class java.util.AbstractList</h3> |
| <code>modCount</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">BlockingArrayQueue</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an unbounded <a href="BlockingArrayQueue.html" title="class in org.eclipse.jetty.util"><code>BlockingArrayQueue</code></a> with default initial capacity and grow factor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int)">BlockingArrayQueue</a></span>​(int maxCapacity)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a bounded <a href="BlockingArrayQueue.html" title="class in org.eclipse.jetty.util"><code>BlockingArrayQueue</code></a> that does not grow.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int)">BlockingArrayQueue</a></span>​(int capacity, |
| int growBy)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates an unbounded <a href="BlockingArrayQueue.html" title="class in org.eclipse.jetty.util"><code>BlockingArrayQueue</code></a> that grows by the given parameter.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,int)">BlockingArrayQueue</a></span>​(int capacity, |
| int growBy, |
| int maxCapacity)</code></th> |
| <td class="colLast"> |
| <div class="block">Create a bounded <a href="BlockingArrayQueue.html" title="class in org.eclipse.jetty.util"><code>BlockingArrayQueue</code></a> that grows by the given parameter.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(int,E)">add</a></span>​(int index, |
| <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> e)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(E)">add</a></span>​(<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> e)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#drainTo(java.util.Collection)">drainTo</a></span>​(java.util.Collection<? super <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>> c)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#drainTo(java.util.Collection,int)">drainTo</a></span>​(java.util.Collection<? super <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>> c, |
| int maxElements)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#element()">element</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(int)">get</a></span>​(int index)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCapacity()">getCapacity</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxCapacity()">getMaxCapacity</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>java.util.Iterator<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#iterator()">iterator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>java.util.ListIterator<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listIterator(int)">listIterator</a></span>​(int index)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offer(E)">offer</a></span>​(<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> e)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offer(E,long,java.util.concurrent.TimeUnit)">offer</a></span>​(<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> o, |
| long timeout, |
| java.util.concurrent.TimeUnit unit)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peek()">peek</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#poll()">poll</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#poll(long,java.util.concurrent.TimeUnit)">poll</a></span>​(long time, |
| java.util.concurrent.TimeUnit unit)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(E)">put</a></span>​(<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> o)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remainingCapacity()">remainingCapacity</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove()">remove</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(int)">remove</a></span>​(int index)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(java.lang.Object)">remove</a></span>​(java.lang.Object o)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#set(int,E)">set</a></span>​(int index, |
| <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> e)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#size()">size</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#take()">take</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.AbstractList"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.util.AbstractList</h3> |
| <code>addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.AbstractCollection"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.util.AbstractCollection</h3> |
| <code>addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.concurrent.BlockingQueue"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.util.concurrent.BlockingQueue</h3> |
| <code>contains</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.Collection"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.util.Collection</h3> |
| <code>parallelStream, removeIf, stream, toArray</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Iterable"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.lang.Iterable</h3> |
| <code>forEach</code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.List"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.util.List</h3> |
| <code>addAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="DEFAULT_CAPACITY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DEFAULT_CAPACITY</h4> |
| <pre>public static final int DEFAULT_CAPACITY</pre> |
| <div class="block">Default initial capacity, 128.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.util.BlockingArrayQueue.DEFAULT_CAPACITY">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="DEFAULT_GROWTH"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DEFAULT_GROWTH</h4> |
| <pre>public static final int DEFAULT_GROWTH</pre> |
| <div class="block">Default growth factor, 64.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.eclipse.jetty.util.BlockingArrayQueue.DEFAULT_GROWTH">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>BlockingArrayQueue</h4> |
| <pre>public BlockingArrayQueue()</pre> |
| <div class="block">Creates an unbounded <a href="BlockingArrayQueue.html" title="class in org.eclipse.jetty.util"><code>BlockingArrayQueue</code></a> with default initial capacity and grow factor.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#DEFAULT_CAPACITY"><code>DEFAULT_CAPACITY</code></a>, |
| <a href="#DEFAULT_GROWTH"><code>DEFAULT_GROWTH</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>BlockingArrayQueue</h4> |
| <pre>public BlockingArrayQueue​(int maxCapacity)</pre> |
| <div class="block">Creates a bounded <a href="BlockingArrayQueue.html" title="class in org.eclipse.jetty.util"><code>BlockingArrayQueue</code></a> that does not grow. The capacity of the queue is fixed and equal to the given parameter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>maxCapacity</code> - the maximum capacity</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>BlockingArrayQueue</h4> |
| <pre>public BlockingArrayQueue​(int capacity, |
| int growBy)</pre> |
| <div class="block">Creates an unbounded <a href="BlockingArrayQueue.html" title="class in org.eclipse.jetty.util"><code>BlockingArrayQueue</code></a> that grows by the given parameter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>capacity</code> - the initial capacity</dd> |
| <dd><code>growBy</code> - the growth factor</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="<init>(int,int,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>BlockingArrayQueue</h4> |
| <pre>public BlockingArrayQueue​(int capacity, |
| int growBy, |
| int maxCapacity)</pre> |
| <div class="block">Create a bounded <a href="BlockingArrayQueue.html" title="class in org.eclipse.jetty.util"><code>BlockingArrayQueue</code></a> that grows by the given parameter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>capacity</code> - the initial capacity</dd> |
| <dd><code>growBy</code> - the growth factor</dd> |
| <dd><code>maxCapacity</code> - the maximum capacity</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="clear()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre class="methodSignature">public void clear()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>clear</code> in interface <code>java.util.Collection<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>clear</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>clear</code> in class <code>java.util.AbstractList<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="size()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre class="methodSignature">public int size()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>size</code> in interface <code>java.util.Collection<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>size</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>size</code> in class <code>java.util.AbstractCollection<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="iterator()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>iterator</h4> |
| <pre class="methodSignature">public java.util.Iterator<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>> iterator()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>iterator</code> in interface <code>java.util.Collection<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>iterator</code> in interface <code>java.lang.Iterable<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>iterator</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>iterator</code> in class <code>java.util.AbstractList<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="poll()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>poll</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> poll()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>poll</code> in interface <code>java.util.Queue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="poll(long,java.util.concurrent.TimeUnit)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>poll</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> poll​(long time, |
| java.util.concurrent.TimeUnit unit) |
| throws java.lang.InterruptedException</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>poll</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.InterruptedException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="peek()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>peek</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> peek()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>peek</code> in interface <code>java.util.Queue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="remove()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> remove()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>remove</code> in interface <code>java.util.Queue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="remove(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> remove​(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>remove</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>remove</code> in class <code>java.util.AbstractList<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="remove(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre class="methodSignature">public boolean remove​(java.lang.Object o)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>remove</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>remove</code> in interface <code>java.util.Collection<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>remove</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>remove</code> in class <code>java.util.AbstractCollection<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="element()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>element</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> element()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>element</code> in interface <code>java.util.Queue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="offer(java.lang.Object)"> |
| <!-- --> |
| </a><a id="offer(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offer</h4> |
| <pre class="methodSignature">public boolean offer​(<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> e)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>offer</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>offer</code> in interface <code>java.util.Queue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="offer(java.lang.Object,long,java.util.concurrent.TimeUnit)"> |
| <!-- --> |
| </a><a id="offer(E,long,java.util.concurrent.TimeUnit)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>offer</h4> |
| <pre class="methodSignature">public boolean offer​(<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> o, |
| long timeout, |
| java.util.concurrent.TimeUnit unit) |
| throws java.lang.InterruptedException</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>offer</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.InterruptedException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="add(java.lang.Object)"> |
| <!-- --> |
| </a><a id="add(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre class="methodSignature">public boolean add​(<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> e)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>add</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>add</code> in interface <code>java.util.Collection<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>add</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>add</code> in interface <code>java.util.Queue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>add</code> in class <code>java.util.AbstractList<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="add(int,java.lang.Object)"> |
| <!-- --> |
| </a><a id="add(int,E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre class="methodSignature">public void add​(int index, |
| <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> e)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>add</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>add</code> in class <code>java.util.AbstractList<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="put(java.lang.Object)"> |
| <!-- --> |
| </a><a id="put(E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>put</h4> |
| <pre class="methodSignature">public void put​(<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> o) |
| throws java.lang.InterruptedException</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>put</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.InterruptedException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="take()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>take</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> take() |
| throws java.lang.InterruptedException</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>take</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.InterruptedException</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="remainingCapacity()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remainingCapacity</h4> |
| <pre class="methodSignature">public int remainingCapacity()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>remainingCapacity</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="drainTo(java.util.Collection)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>drainTo</h4> |
| <pre class="methodSignature">public int drainTo​(java.util.Collection<? super <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>> c)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>drainTo</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="drainTo(java.util.Collection,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>drainTo</h4> |
| <pre class="methodSignature">public int drainTo​(java.util.Collection<? super <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>> c, |
| int maxElements)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>drainTo</code> in interface <code>java.util.concurrent.BlockingQueue<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="get(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> get​(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>get</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>get</code> in class <code>java.util.AbstractList<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="set(int,java.lang.Object)"> |
| <!-- --> |
| </a><a id="set(int,E)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre class="methodSignature">public <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> set​(int index, |
| <a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a> e)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>set</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>set</code> in class <code>java.util.AbstractList<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="listIterator(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>listIterator</h4> |
| <pre class="methodSignature">public java.util.ListIterator<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>> listIterator​(int index)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code>listIterator</code> in interface <code>java.util.List<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>listIterator</code> in class <code>java.util.AbstractList<<a href="BlockingArrayQueue.html" title="type parameter in BlockingArrayQueue">E</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getCapacity()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCapacity</h4> |
| <pre class="methodSignature">public int getCapacity()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current capacity of this queue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getMaxCapacity()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getMaxCapacity</h4> |
| <pre class="methodSignature">public int getMaxCapacity()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the max capacity of this queue, or -1 if this queue is unbounded</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/BlockingArrayQueue.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |