java.lang.Iterable<K>
, java.util.Collection<K>
, java.util.Set<K>
public class LinkedCollection<K>
extends java.lang.Object
implements java.util.Set<K>
Modifier and Type | Class | Description |
---|---|---|
static class |
LinkedCollection.LinkedEntry<K> |
Constructor | Description |
---|---|
LinkedCollection() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(LinkedCollection.LinkedEntry<K> arg0) |
|
boolean |
add(K arg0) |
|
boolean |
addAll(java.util.Collection<? extends K> arg0) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object arg0) |
|
boolean |
containsAll(java.util.Collection<?> arg0) |
|
boolean |
isEmpty() |
|
java.util.Iterator<K> |
iterator() |
|
boolean |
remove(java.lang.Object arg0) |
|
boolean |
removeAll(java.util.Collection<?> arg0) |
|
boolean |
retainAll(java.util.Collection<?> arg0) |
|
int |
size() |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] a) |
public boolean add(K arg0)
public boolean add(LinkedCollection.LinkedEntry<K> arg0)
public boolean addAll(java.util.Collection<? extends K> arg0)
public void clear()
public boolean contains(java.lang.Object arg0)
public boolean containsAll(java.util.Collection<?> arg0)
public boolean isEmpty()
public java.util.Iterator<K> iterator()
public boolean remove(java.lang.Object arg0)
public boolean removeAll(java.util.Collection<?> arg0)
public boolean retainAll(java.util.Collection<?> arg0)
public int size()
public java.lang.Object[] toArray()