Java tensor indexing

I am defining a java tensor:
FloatBuffer buffer = Tensor.allocateFloatBuffer(10380*80);
Tensor input = Tensor.fromBlob(buffer, new long[]{10, 3, 80, 80});

How can I get an element of the tensor?
input[0,0,0,0], input[0], input[0][0][0][0] all do not work. Any other suggestions? There is nothing in the documentation.