public Activation getNext() {
Activation activation = null;
while ( this.index <= lastIndex ) {
LinkedList list = this.array[this.index];
if ( list != null ) {
activation = (Activation) ((LinkedListEntry)list.removeFirst()).getObject();
if ( list.isEmpty()) {
this.array[this.index++] = null;
}
this.size--;
break;