Top Description Inners Fields Constructors Methods
org.hsqldb.lib

pack-priv abstract Class BaseList<E>

extends Object
Class Inheritance
Known Direct Subclasses
org.hsqldb.lib.HsqlArrayList, org.hsqldb.lib.HsqlDeque
Imports
java.util.NoSuchElementException

Abstract base for Lists
Author
Fred Toussi (fredt@users dot sourceforge.net)
Since
1.7.0
Version
2.7.3

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
protected ObjectComparator<E>
protected int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public abstract boolean
add(E element)

public boolean
addAll(Collection<? extends E> other)

public boolean
addAll(E[] array)

public boolean
contains(Object element)

public abstract E
get(int index)

public int
indexOf(E element)

public boolean
public Iterator<E>
public abstract E
remove(int index)

public abstract int
size()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

comparatorback to summary
protected ObjectComparator<E> comparator
elementCountback to summary
protected int elementCount

Constructor Detail

BaseListback to summary
pack-priv BaseList()

Method Detail

addback to summary
public abstract boolean add(E element)
addAllback to summary
public boolean addAll(Collection<? extends E> other)
addAllback to summary
public boolean addAll(E[] array)
containsback to summary
public boolean contains(Object element)
getback to summary
public abstract E get(int index)
indexOfback to summary
public int indexOf(E element)
isEmptyback to summary
public boolean isEmpty()
iteratorback to summary
public Iterator<E> iterator()
removeback to summary
public abstract E remove(int index)
sizeback to summary
public abstract int size()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

org.hsqldb.lib back to summary

private Class BaseList.BaseListIterator

extends Object
implements Iterator<E>
Class Inheritance
All Implemented Interfaces
org.hsqldb.lib.Iterator

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
public E
public int
public long
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

counterback to summary
pack-priv int counter
removedback to summary
pack-priv boolean removed

Constructor Detail

BaseListIteratorback to summary
private BaseListIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

Implements org.hsqldb.lib.Iterator.hasNext.

nextback to summary
public E next()

Implements org.hsqldb.lib.Iterator.next.

nextIntback to summary
public int nextInt()

Overrides default org.hsqldb.lib.Iterator.nextInt.

nextLongback to summary
public long nextLong()

Overrides default org.hsqldb.lib.Iterator.nextLong.

removeback to summary
public void remove()

Overrides default org.hsqldb.lib.Iterator.remove.