Should RangeReadings.getNumReadings() return size()

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

Moderators: 99jonathan, roger, imaqine

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
ljw7630
New User
 
Posts: 7
Joined: Sun Jan 29, 2012 1:09 pm

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

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

You are right, it is not really necessary.
lawrie
leJOS Team Member
 
Posts: 919
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Software

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests

more stuff