public abstract class TinyList<V>
extends java.lang.Object
Constructor and Description |
---|
TinyList() |
Modifier and Type | Method and Description |
---|---|
abstract V |
get(int i)
guarantees complexity O(1) by definition
|
V |
getLast()
guarantees complexity O(1) by definition
|
boolean |
isEmpty() |
abstract void |
removeLast()
guarantees complexity O(1) by definition
|
abstract int |
size()
guarantees complexity O(1) by definition
|
java.lang.String |
toString() |
public abstract V get(int i)
public V getLast()
public boolean isEmpty()
public abstract void removeLast()
public abstract int size()
public java.lang.String toString()
toString
in class java.lang.Object