|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.jku.ssw.List
at.jku.ssw.LinkedList
public class LinkedList
A linked list of characters.
Constructor Summary | |
---|---|
LinkedList()
|
Method Summary | |
---|---|
void |
add(char value)
Appends the value to the end of this list. |
void |
add(int index,
char value)
Inserts the value at position index. |
char |
get(int index)
Returns the value at position index. |
int |
indexOf(char value)
Returns the index of the first occurrence of the value. |
Iterator |
iterator()
Returns an iterator of the values in this list. |
char |
remove(int index)
Removes the value at position index. |
int |
size()
Returns the number of values in this list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkedList()
Method Detail |
---|
public void add(char value)
add
in class List
public void add(int index, char value)
add
in class List
public char get(int index)
get
in class List
public char remove(int index)
remove
in class List
public int indexOf(char value)
indexOf
in class List
public int size()
size
in class List
public Iterator iterator()
iterator
in class List
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |