public <T> Iterator<T> getBshIterator(final T[] obj) {
        return Arrays.asList(obj).iterator();
    }
public < T > Iterator < T > getBshIterator ( final T [ ] obj ) { return Arrays . asList ( obj ) . iterator ( ) ; }
Iterator from T[] method bound type Object array as value.
@param obj the T[] generic typed Object array.
@return the iterator