}
else if ( value.getClass().isArray() ) {
return new ArrayIterator( value );
}
else if ( value instanceof Enumeration ) {
return new EnumerationIterator((Enumeration ) value);
}
else if ( value instanceof Collection ) {
Collection collection = (Collection) value;
return collection.iterator();
}