W
Wizumwalt
I'm trying to allocate an IntBuffer during run-time once I know the
size I need but I can't get the following to compile. Eclipse
highlights the reason as such ...
size I need but I can't get the following to compile. Eclipse
highlights the reason as such ...
Code:
Syntax error on token "]", VariableDeclaratorId expected after this
token.
Code:
private IntBuffer[] indBuffers;
public void myMethod(int val) {
indBuffers[] = BufferUtils.newIntBuffer[val];
// error in above line
...