IndexIterator getIndexIterator ( Array maa ) { if ( fastIterator ) return new IteratorFast ( size , maa ) ; else return new IteratorImpl ( maa ) ; }
Get an index iterator for traversing the array in canonical order .