count_elements


Description:

public int count_elements ()

Counts the elements of the current position, if the reader is positioned on an array.

In case of failure, the reader is set to an error state.

Parameters:

this

a reader

Returns:

the number of elements, or -1.