Home » hsqldb_1_8_0_10 » org.hsqldb.lib » [javadoc | source]
public class: HsqlDeque [javadoc | source]
jdk 1.1 compatible minimal implementation of a list object suitable for stack, queue and deque usage patterns backed by an Object[]. The memory footprint of the HsqlDeque doubles when it gets full but does not shrink when it gets empty.
 public HsqlDeque() 
Method from org.hsqldb.lib.HsqlDeque Summary:
add,   addFirst,   addLast,   clear,   elements,   get,   getFirst,   getLast,   isEmpty,   removeFirst,   removeLast,   set,   size
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hsqldb.lib.HsqlDeque Detail:
 public boolean add(Object o) 
 public boolean addFirst(Object o) 
 public boolean addLast(Object o) 
 public  void clear() 
 public Enumeration elements() 
 public Object get(int i) throws IndexOutOfBoundsException 
 public Object getFirst() throws NoSuchElementException 
 public Object getLast() throws NoSuchElementException 
 public boolean isEmpty() 
 public Object removeFirst() throws NoSuchElementException 
 public Object removeLast() throws NoSuchElementException 
 public Object set(int i,
    Object o) throws IndexOutOfBoundsException 
 public int size()