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>
PairSLinkedList
, TriadSLinkedList
public class SLinkedList<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 |
---|---|
SLinkedList() |
|
SLinkedList(java.util.Enumeration<K> E) |
|
SLinkedList(java.util.Iterator<K> E) |
|
SLinkedList(java.util.Set<K> E) |
|
SLinkedList(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) |
|
SLinkedList<K> |
copyOf() |
|
java.util.Iterator<K> |
descendingIterator() |
|
K |
element() |
|
boolean |
equals(java.lang.Object arg0) |
|
K |
get(int arg0) |
|
K |
getFirst() |
|
K |
getLast() |
|
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 SLinkedList()
public SLinkedList(K[] E)
public SLinkedList(java.util.Enumeration<K> E)
public SLinkedList(java.util.Iterator<K> E)
public SLinkedList(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 SLinkedList<K> copyOf()
public boolean contains(java.lang.Object arg0)
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