java.lang.Iterable<E>, java.util.Collection<E>@Private
public class IntrusiveCollection<E extends IntrusiveCollection.Element>
extends java.lang.Object
implements java.util.Collection<E>
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
IntrusiveCollection.Element |
An element contained in this list.
|
class |
IntrusiveCollection.IntrusiveIterator |
An iterator over the intrusive collection.
|
| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
| Constructor | Description |
|---|---|
IntrusiveCollection() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(E elem) |
Add an element to the end of the list.
|
boolean |
addAll(java.util.Collection<? extends E> collection) |
|
boolean |
addFirst(IntrusiveCollection.Element elem) |
Add an element to the front of the list.
|
void |
clear() |
Remove all elements.
|
boolean |
contains(java.lang.Object o) |
|
boolean |
containsAll(java.util.Collection<?> collection) |
|
boolean |
isEmpty() |
|
java.util.Iterator<E> |
iterator() |
Get an iterator over the list.
|
boolean |
remove(java.lang.Object o) |
|
boolean |
removeAll(java.util.Collection<?> collection) |
|
boolean |
retainAll(java.util.Collection<?> collection) |
|
int |
size() |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic java.util.Iterator<E> iterator()
iterator in interface java.util.Collection<E extends IntrusiveCollection.Element>iterator in interface java.lang.Iterable<E extends IntrusiveCollection.Element>public int size()
size in interface java.util.Collection<E extends IntrusiveCollection.Element>public boolean isEmpty()
isEmpty in interface java.util.Collection<E extends IntrusiveCollection.Element>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<E extends IntrusiveCollection.Element>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<E extends IntrusiveCollection.Element>public <T> T[] toArray(T[] array)
toArray in interface java.util.Collection<E extends IntrusiveCollection.Element>public boolean add(E elem)
add in interface java.util.Collection<E extends IntrusiveCollection.Element>elem - The new element to add.public boolean addFirst(IntrusiveCollection.Element elem)
elem - The new element to add.public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E extends IntrusiveCollection.Element>public boolean containsAll(java.util.Collection<?> collection)
containsAll in interface java.util.Collection<E extends IntrusiveCollection.Element>public boolean addAll(java.util.Collection<? extends E> collection)
addAll in interface java.util.Collection<E extends IntrusiveCollection.Element>public boolean removeAll(java.util.Collection<?> collection)
removeAll in interface java.util.Collection<E extends IntrusiveCollection.Element>public boolean retainAll(java.util.Collection<?> collection)
retainAll in interface java.util.Collection<E extends IntrusiveCollection.Element>public void clear()
clear in interface java.util.Collection<E extends IntrusiveCollection.Element>Copyright © 2008–2025 Apache Software Foundation. All rights reserved.