def get_next_values(self, n=None):
plemented from template for osid.resource.ResourceList.get_next_resources<EOL>if n > self.available():<EOL><INDENT>raise IllegalState('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>next_list = []<EOL>x = <NUM_LIT:0><EOL>while x < n:<EOL><INDENT>try:<EOL><INDENT>next_list.append(self.next())<EOL><DEDENT>except:  <EOL><INDENT>raise OperationFailed()<EOL><DEDENT>x = x + <NUM_LIT:1><EOL><DEDENT>return next_list<EOL><DEDENT>
Gets the next set of ``Values`` in this list which must be less than or equal to the return from ``available()``.

        arg:    n (cardinal): the number of ``Value`` elements requested
                which must be less than or equal to ``available()``
        return: (osid.configuration.Value) - an array of ``Value``
                elements.The length of the array is less than or equal
                to the number specified.
        raise:  IllegalState - no more elements available in this list
        raise:  OperationFailed - unable to complete request
        *compliance: mandatory -- This method must be implemented.*