} else if (object instanceof double[]) {
return new DoubleArrayIterator((double[]) object);
} else if (object instanceof short[]) {
return new ShortArrayIterator((short[]) object);
} else if (object instanceof byte[]) {
return new ByteArrayIterator((byte[]) object);
} else if (object instanceof char[]) {
return new CharArrayIterator((char[]) object);
} else if (object instanceof boolean[]) {
return new BooleanArrayIterator((boolean[]) object);
} else {