public static Iterator<Object> getValues(Object[] array)
    {
        if (array == null)
        {
            return null;
        }
        ArrayList<Object> valueList = new ArrayList<Object>();
        int i = array.length - 1;
        while (i >= 0)
        {
            valueList.add(array[i]);
            i = i - 2;
        }
        return valueList.iterator();
    }
public static Iterator < Object > getValues ( Object [ ] array ) { if ( array == null ) { return null ; } ArrayList < Object > valueList = new ArrayList < Object > ( ) ; int i = array . length - 1 ; while ( i >= 0 ) { valueList . add ( array [ i ] ) ; i = i - 2 ; } return valueList . iterator ( ) ; }
Returns an Iterator of values in the array.