Created
December 8, 2015 20:13
-
-
Save AnnaBoro/d984db8ad7f6a6e5232a to your computer and use it in GitHub Desktop.
MyList2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson7.mylist; | |
public class SimpleLinkedList { | |
private Node root; | |
private int size; | |
public SimpleLinkedList() { | |
size = 0; | |
} | |
public void addFirst(Object o) { | |
} | |
public void addLast(Object o) { | |
} | |
public void addAfter(Object o, Object n) { | |
} | |
public int getSize() { | |
return size; | |
} | |
private class Node { | |
private Object o; | |
private Node node; | |
public Node() { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment