Size of an array

2007-09-04 Thread Jörn Kottmann
Hello, how can I get the size of an array type ? I have a fs where fs.getType().isArray() == true. Now I woud like to know the size of the array. Thanks, Jörn

Re: Size of an array

2007-09-04 Thread Thilo Goetz
Jörn Kottmann wrote: Hello, how can I get the size of an array type ? I have a fs where fs.getType().isArray() == true. Now I woud like to know the size of the array. Thanks, Jörn Good question. Looks like there is no elegant way of doing this. There's an interface called

Re: Size of an array

2007-09-04 Thread vijay vijay
get the size of an array type ? I have a fs where fs.getType().isArray() == true. Now I woud like to know the size of the array. Thanks, Jörn Good question. Looks like there is no elegant way of doing this. There's an interface called CommonArrayFS that defines the size() method

Re: Size of an array

2007-09-04 Thread Jörn Kottmann
Good question. Looks like there is no elegant way of doing this. There's an interface called CommonArrayFS that defines the size() method, but ArrayFS doesn't extend it. The string array also does not extend CommonArrayFS. Jörn