Package hw
Class Conversion

Public Method stringToIntArr

static int[] stringToIntArr(String str)

static int[] stringToIntArr(String str, int offset)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

stringToIntArr(String str) method:

Parameter Description
str string that sould be converted to a integer array

The parameter str is a string that should be coverted in an integer array.

Returns Description
int[] a new created integer array


stringToIntArr(String str, int offset) method:

Parameter Description
intArr integer array that sould be converted to a string
offset offest in the specified integer array

The parameter str is a string that should be coverted in an integer array. The offset parameter specifies the offset in the string with the result that the returned integer array starts at that position.

Returns Description
int[] a new created integer array