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
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
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
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