Link to home
Start Free TrialLog in
Avatar of srikotesh
srikotesh

asked on

How do i get 30 values from the list every time using java.

Hi Experts,

I have a list having values
from the list i want to display an average of 30 values
like let suppose
list having 100 values i want to display 3,6,9,.....up to 30 values
is it possible to get 30 values out of list size?

list size i am not sure how much it is?


list size is 100-->30( i need 30 values from the list)
                   200-->30
                   300-->30
                   400-->30
                   500-->30

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of srikotesh
srikotesh

ASKER

Superb