method

size

size()
public

Returns the number of elements in this arithmetic sequence if it is a finite sequence. Otherwise, returns nil.