Package com.jackmeng.stl
Class stl_CircularList<T>
java.lang.Object
com.jackmeng.stl.stl_CircularList<T>
public class stl_CircularList<T>
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
stl_CircularList.Node<T>
-
Field Summary
Fields Modifier and Type Field Description private stl_CircularList.Node<T>
head
private stl_CircularList.Node<T>
tail
-
Constructor Summary
Constructors Constructor Description stl_CircularList()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
head
-
tail
-
-
Constructor Details
-
stl_CircularList
public stl_CircularList()
-
-
Method Details
-
add
-
isEmpty
public boolean isEmpty() -
size
public int size() -
get
-
remove
public void remove(int index)
-