9 package javolution.util.internal.table;
11 import java.util.Iterator;
12 import java.util.NoSuchElementException;
34 @SuppressWarnings(
"unchecked")
42 public void remove() {
54 private transient int size;
71 if (index >= (
size >> 1)) {
113 @SuppressWarnings(
"unchecked")
115 public E
get(
int index) {
129 return get(
size - 1);
137 @SuppressWarnings(
"unchecked")
139 public E
remove(
int index) {
142 if (index >= (
size >> 1)) {
152 @SuppressWarnings(
"unchecked")
162 @SuppressWarnings(
"unchecked")
170 @SuppressWarnings(
"unchecked")
187 @SuppressWarnings(
"unchecked")
189 throws java.io.IOException, ClassNotFoundException {
190 s.defaultReadObject();
192 for (
int i = 0; i < n; i++)
203 throws java.io.IOException {
204 s.defaultWriteObject();
206 for (
int i = 0; i <
size; i++)