ProtocolLib/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html
2012-12-04 01:02:05 +01:00

572 lines
27 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Tue Dec 04 01:00:50 CET 2012 -->
<title>SortedCopyOnWriteArray</title>
<meta name="date" content="2012-12-04">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SortedCopyOnWriteArray";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SortedCopyOnWriteArray.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-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/comphenix/protocol/concurrency/BlockingHashMap.html" title="class in com.comphenix.protocol.concurrency"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" target="_top">Frames</a></li>
<li><a href="SortedCopyOnWriteArray.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.comphenix.protocol.concurrency</div>
<h2 title="Class SortedCopyOnWriteArray" class="title">Class SortedCopyOnWriteArray&lt;T extends java.lang.Comparable&lt;T&gt;&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.comphenix.protocol.concurrency.SortedCopyOnWriteArray&lt;T&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - - type of the elements in the list.</dd></dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Iterable&lt;T&gt;, java.util.Collection&lt;T&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">SortedCopyOnWriteArray&lt;T extends java.lang.Comparable&lt;T&gt;&gt;</span>
extends java.lang.Object
implements java.lang.Iterable&lt;T&gt;, java.util.Collection&lt;T&gt;</pre>
<div class="block">An implicitly sorted array list that preserves insertion order and maintains duplicates.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#SortedCopyOnWriteArray()">SortedCopyOnWriteArray</a></strong>()</code>
<div class="block">Construct an empty sorted array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#SortedCopyOnWriteArray(java.util.Collection)">SortedCopyOnWriteArray</a></strong>(java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&nbsp;wrapped)</code>
<div class="block">Create a sorted array from the given list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#SortedCopyOnWriteArray(java.util.Collection, boolean)">SortedCopyOnWriteArray</a></strong>(java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&nbsp;wrapped,
boolean&nbsp;sort)</code>
<div class="block">Create a sorted array from the given list.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#add(T)">add</a></strong>(<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&nbsp;value)</code>
<div class="block">Inserts the given element in the proper location.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#addAll(java.util.Collection)">addAll</a></strong>(java.util.Collection&lt;? extends <a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&nbsp;values)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#clear()">clear</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#contains(java.lang.Object)">contains</a></strong>(java.lang.Object&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#containsAll(java.util.Collection)">containsAll</a></strong>(java.util.Collection&lt;?&gt;&nbsp;values)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#get(int)">get</a></strong>(int&nbsp;index)</code>
<div class="block">Retrieves an element by index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#isEmpty()">isEmpty</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.Iterator&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#iterator()">iterator</a></strong>()</code>
<div class="block">Retrieves an iterator over the elements in the given list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#remove(int)">remove</a></strong>(int&nbsp;index)</code>
<div class="block">Removes from the list by making a copy of every element except the one with the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#remove(java.lang.Object)">remove</a></strong>(java.lang.Object&nbsp;value)</code>
<div class="block">Removes from the list by making a new list with every element except the one given.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#removeAll(java.util.Collection)">removeAll</a></strong>(java.util.Collection&lt;?&gt;&nbsp;values)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#retainAll(java.util.Collection)">retainAll</a></strong>(java.util.Collection&lt;?&gt;&nbsp;values)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#size()">size</a></strong>()</code>
<div class="block">Retrieve the size of the list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.Object[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#toArray()">toArray</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#toArray(T[])">toArray</a></strong>(T[]&nbsp;a)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.util.Collection">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.util.Collection</h3>
<code>equals, hashCode</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SortedCopyOnWriteArray()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SortedCopyOnWriteArray</h4>
<pre>public&nbsp;SortedCopyOnWriteArray()</pre>
<div class="block">Construct an empty sorted array.</div>
</li>
</ul>
<a name="SortedCopyOnWriteArray(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SortedCopyOnWriteArray</h4>
<pre>public&nbsp;SortedCopyOnWriteArray(java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&nbsp;wrapped)</pre>
<div class="block">Create a sorted array from the given list. The elements will be automatically sorted.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wrapped</code> - - the collection whose elements are to be placed into the list.</dd></dl>
</li>
</ul>
<a name="SortedCopyOnWriteArray(java.util.Collection, boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SortedCopyOnWriteArray</h4>
<pre>public&nbsp;SortedCopyOnWriteArray(java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&nbsp;wrapped,
boolean&nbsp;sort)</pre>
<div class="block">Create a sorted array from the given list.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wrapped</code> - - the collection whose elements are to be placed into the list.</dd><dd><code>sort</code> - - TRUE to automatically sort the collection, FALSE if it is already sorted.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="add(java.lang.Comparable)">
<!-- -->
</a><a name="add(T)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public&nbsp;boolean&nbsp;add(<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&nbsp;value)</pre>
<div class="block">Inserts the given element in the proper location.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>add</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - - element to insert.</dd></dl>
</li>
</ul>
<a name="addAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public&nbsp;boolean&nbsp;addAll(java.util.Collection&lt;? extends <a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&nbsp;values)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>addAll</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="remove(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public&nbsp;boolean&nbsp;remove(java.lang.Object&nbsp;value)</pre>
<div class="block">Removes from the list by making a new list with every element except the one given.
<p>
Objects will be compared using the given objects equals() method.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>remove</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - - value to remove.</dd></dl>
</li>
</ul>
<a name="removeAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public&nbsp;boolean&nbsp;removeAll(java.util.Collection&lt;?&gt;&nbsp;values)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>removeAll</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="retainAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retainAll</h4>
<pre>public&nbsp;boolean&nbsp;retainAll(java.util.Collection&lt;?&gt;&nbsp;values)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>retainAll</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="remove(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public&nbsp;void&nbsp;remove(int&nbsp;index)</pre>
<div class="block">Removes from the list by making a copy of every element except the one with the given index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - - index of the element to remove.</dd></dl>
</li>
</ul>
<a name="get(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&nbsp;get(int&nbsp;index)</pre>
<div class="block">Retrieves an element by index.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - - index of element to retrieve.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The element at the given location.</dd></dl>
</li>
</ul>
<a name="size()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public&nbsp;int&nbsp;size()</pre>
<div class="block">Retrieve the size of the list.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>size</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Size of the list.</dd></dl>
</li>
</ul>
<a name="iterator()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterator</h4>
<pre>public&nbsp;java.util.Iterator&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&nbsp;iterator()</pre>
<div class="block">Retrieves an iterator over the elements in the given list.
Warning: No not attempt to remove elements using the iterator.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>iterator</code>&nbsp;in interface&nbsp;<code>java.lang.Iterable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
<dt><strong>Specified by:</strong></dt>
<dd><code>iterator</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="clear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public&nbsp;void&nbsp;clear()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>clear</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="contains(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public&nbsp;boolean&nbsp;contains(java.lang.Object&nbsp;value)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>contains</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="containsAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsAll</h4>
<pre>public&nbsp;boolean&nbsp;containsAll(java.util.Collection&lt;?&gt;&nbsp;values)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>containsAll</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="isEmpty()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public&nbsp;boolean&nbsp;isEmpty()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>isEmpty</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="toArray()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toArray</h4>
<pre>public&nbsp;java.lang.Object[]&nbsp;toArray()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>toArray</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
<a name="toArray(java.lang.Object[])">
<!-- -->
</a><a name="toArray(T[])">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toArray</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;toArray(T[]&nbsp;a)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>toArray</code>&nbsp;in interface&nbsp;<code>java.util.Collection&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable&lt;<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>&gt;&gt;</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SortedCopyOnWriteArray.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-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/comphenix/protocol/concurrency/BlockingHashMap.html" title="class in com.comphenix.protocol.concurrency"><span class="strong">Prev Class</span></a></li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" target="_top">Frames</a></li>
<li><a href="SortedCopyOnWriteArray.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>