java.io.Serializable
, java.lang.Cloneable
, java.lang.Iterable<K>
, java.util.Collection<K>
, java.util.Deque<K>
, java.util.List<K>
, java.util.Queue<K>
PairCMList
, TriadCMList
public class CMList<K>
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<K>, java.util.Collection<K>, java.util.Deque<K>, java.util.List<K>, java.util.Queue<K>
Constructor | Description |
---|---|
CMList() |
|
CMList(java.util.Enumeration<K> E) |
|
CMList(java.util.Iterator<K> E) |
|
CMList(java.util.Set<K> E) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int arg0,
K arg1) |
|
boolean |
add(K arg0) |
|
boolean |
addAll(int arg0,
java.util.Collection<? extends K> arg1) |
|
boolean |
addAll(java.util.Collection<? extends K> arg0) |
|
void |
addAll(java.util.Enumeration<K> E) |
|
void |
addAll(java.util.Iterator<K> E) |
|
void |
addAll(K[] E) |
|
void |
addFirst(K arg0) |
|
void |
addLast(K arg0) |
|
void |
clear() |
|
boolean |
contains(java.lang.Object arg0) |
|
boolean |
containsAll(java.util.Collection<?> c) |
|
boolean |
containsFromEnd(java.lang.Object arg0) |
|
CMList<K> |
copyOf() |
|
java.util.Iterator<K> |
descendingIterator() |
|
K |
element() |
|
java.util.Enumeration<K> |
elements() |
|
boolean |
equals(java.lang.Object arg0) |
|
K |
get(int arg0) |
|
K |
getFirst() |
|
K |
getLast() |
|
K |
getNextRandom() |
|
K |
getPreviousRandom() |
|
int |
hashCode() |
|
int |
indexOf(java.lang.Object arg0) |
|
boolean |
isEmpty() |
|
java.util.Iterator<K> |
iterator() |
|
int |
lastIndexOf(java.lang.Object arg0) |
|
java.util.ListIterator<K> |
listIterator() |
|
java.util.ListIterator<K> |
listIterator(int arg0) |
|
boolean |
offer(K arg0) |
|
boolean |
offerFirst(K arg0) |
|
boolean |
offerLast(K arg0) |
|
K |
peek() |
|
K |
peekFirst() |
|
K |
peekLast() |
|
K |
poll() |
|
K |
pollFirst() |
|
K |
pollLast() |
|
K |
pop() |
|
void |
push(K arg0) |
|
K |
remove() |
|
K |
remove(int arg0) |
|
boolean |
remove(java.lang.Object arg0) |
|
boolean |
removeAll(java.util.Collection<?> c) |
|
void |
removeAll(java.util.Enumeration<K> E) |
|
void |
removeAll(java.util.Iterator<K> E) |
|
void |
removeAll(java.util.List<K> E) |
|
K |
removeFirst() |
|
boolean |
removeFirstOccurrence(java.lang.Object arg0) |
|
K |
removeLast() |
|
boolean |
removeLastOccurrence(java.lang.Object arg0) |
|
boolean |
retainAll(java.util.Collection<?> c) |
|
K |
set(int arg0,
K arg1) |
|
int |
size() |
|
java.util.List<K> |
subList(int arg0,
int arg1) |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] arg0) |
|
java.util.LinkedList<K> |
toLinkedList() |
|
java.lang.String |
toString() |
|
java.util.Vector<K> |
toVector() |
public CMList()
public CMList(java.util.Enumeration<K> E)
public CMList(java.util.Iterator<K> E)
public CMList(java.util.Set<K> E)
public void addAll(java.util.Enumeration<K> E)
public void addAll(K[] E)
public void addAll(java.util.Iterator<K> E)
public void removeAll(java.util.Enumeration<K> E)
public void removeAll(java.util.Iterator<K> E)
public void removeAll(java.util.List<K> E)
public java.util.LinkedList<K> toLinkedList()
public java.util.Vector<K> toVector()
public boolean add(K arg0)
public boolean addAll(java.util.Collection<? extends K> arg0)
public boolean addAll(int arg0, java.util.Collection<? extends K> arg1)
addAll
in interface java.util.List<K>
public void clear()
public K getNextRandom()
public K getPreviousRandom()
public boolean contains(java.lang.Object arg0)
public boolean containsFromEnd(java.lang.Object arg0)
public java.util.Enumeration<K> elements()
public java.util.Iterator<K> descendingIterator()
descendingIterator
in interface java.util.Deque<K>
public K element()
public int indexOf(java.lang.Object arg0)
indexOf
in interface java.util.List<K>
public int lastIndexOf(java.lang.Object arg0)
lastIndexOf
in interface java.util.List<K>
public java.util.ListIterator<K> listIterator(int arg0)
listIterator
in interface java.util.List<K>
public boolean offer(K arg0)
public boolean offerFirst(K arg0)
offerFirst
in interface java.util.Deque<K>
public K peek()
public K poll()
public K remove()
public boolean remove(java.lang.Object arg0)
public boolean removeFirstOccurrence(java.lang.Object arg0)
removeFirstOccurrence
in interface java.util.Deque<K>
public boolean removeLastOccurrence(java.lang.Object arg0)
removeLastOccurrence
in interface java.util.Deque<K>
public int size()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] arg0)
public java.util.Iterator<K> iterator()
public boolean equals(java.lang.Object arg0)
public int hashCode()
public java.util.ListIterator<K> listIterator()
listIterator
in interface java.util.List<K>
public java.util.List<K> subList(int arg0, int arg1)
subList
in interface java.util.List<K>
public boolean containsAll(java.util.Collection<?> c)
public boolean isEmpty()
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public java.lang.String toString()
toString
in class java.lang.Object