|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object LinLista
public class LinLista
Esimerkki linkitetytstä listasta
Nested Class Summary | |
---|---|
static class |
LinLista.Alkio
Linkitetyn listan yksi alkio. |
Field Summary | |
---|---|
private LinLista.Alkio |
eka
|
private LinLista.Alkio |
viimeinen
|
Constructor Summary | |
---|---|
LinLista()
|
|
LinLista(int koko)
|
Method Summary | |
---|---|
void |
lisaa(int i)
|
static void |
main(java.lang.String[] args)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private LinLista.Alkio eka
private LinLista.Alkio viimeinen
Constructor Detail |
---|
public LinLista()
public LinLista(int koko)
Method Detail |
---|
public void lisaa(int i)
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |