mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-01 08:29:34 +01:00
572 lines
27 KiB
HTML
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 Nov 13 17:51:11 CET 2012 -->
|
|
<title>SortedCopyOnWriteArray</title>
|
|
<meta name="date" content="2012-11-13">
|
|
<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/AbstractIntervalTree.State.html" title="enum 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: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </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>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </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<T extends java.lang.Comparable<T>></h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.comphenix.protocol.concurrency.SortedCopyOnWriteArray<T></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<T>, java.util.Collection<T></dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">SortedCopyOnWriteArray<T extends java.lang.Comparable<T>></span>
|
|
extends java.lang.Object
|
|
implements java.lang.Iterable<T>, java.util.Collection<T></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"> </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<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>> 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<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>> wrapped,
|
|
boolean 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"> </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> 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<? extends <a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>> values)</code> </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> </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 value)</code> </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<?> values)</code> </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 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> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>java.util.Iterator<<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#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 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 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<?> values)</code> </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<?> values)</code> </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> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><T> T[]</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html#toArray(T[])">toArray</a></strong>(T[] a)</code> </td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class 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 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 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 SortedCopyOnWriteArray(java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>> 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 SortedCopyOnWriteArray(java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>> wrapped,
|
|
boolean 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 boolean add(<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> 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> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></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 boolean addAll(java.util.Collection<? extends <a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>> values)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>addAll</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="remove(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>remove</h4>
|
|
<pre>public boolean remove(java.lang.Object 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> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></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 boolean removeAll(java.util.Collection<?> values)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>removeAll</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="retainAll(java.util.Collection)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>retainAll</h4>
|
|
<pre>public boolean retainAll(java.util.Collection<?> values)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>retainAll</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="remove(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>remove</h4>
|
|
<pre>public void remove(int 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 <a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> get(int 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 int size()</pre>
|
|
<div class="block">Retrieve the size of the list.</div>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>size</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></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 java.util.Iterator<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>> 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> in interface <code>java.lang.Iterable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>iterator</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="clear()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clear</h4>
|
|
<pre>public void clear()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>clear</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="contains(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>contains</h4>
|
|
<pre>public boolean contains(java.lang.Object value)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>contains</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="containsAll(java.util.Collection)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>containsAll</h4>
|
|
<pre>public boolean containsAll(java.util.Collection<?> values)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>containsAll</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isEmpty()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEmpty</h4>
|
|
<pre>public boolean isEmpty()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>isEmpty</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toArray()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>toArray</h4>
|
|
<pre>public java.lang.Object[] toArray()</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>toArray</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></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 <T> T[] toArray(T[] a)</pre>
|
|
<dl>
|
|
<dt><strong>Specified by:</strong></dt>
|
|
<dd><code>toArray</code> in interface <code>java.util.Collection<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a> extends java.lang.Comparable<<a href="../../../../com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html" title="type parameter in SortedCopyOnWriteArray">T</a>>></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/AbstractIntervalTree.State.html" title="enum 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: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </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>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|