Should RangeReadings.getNumReadings() return size()

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, imaqine, 99jonathan

ljw7630
New User
Posts: 7
Joined: Sun Jan 29, 2012 1:09 pm

Should RangeReadings.getNumReadings() return size()

Postby ljw7630 » Wed Feb 15, 2012 2:50 pm

This is quite confusing. I have to download the source code to see what's going on.
In public class RangeReadings, does private int numReadings really necessary if we have ArrayList.size()?

Jinwu

lawrie
leJOS Team Member
Posts: 955
Joined: Mon Feb 05, 2007 1:27 pm

Re: Should RangeReadings.getNumReadings() return size()

Postby lawrie » Fri Feb 17, 2012 9:03 pm

You are right, it is not really necessary.


Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 2 guests