Difference between revisions of "Help:Contents"

From Robowiki
Jump to navigation Jump to search
m (adding category)
Line 2: Line 2:
  
 
[[Category:Help|Contents]]
 
[[Category:Help|Contents]]
 +
 +
Hey Guys, i was hoping to ask for a little Java help. I hope here is an ok spot.  I have a class Tanks, where I store data on tanks in an arrayList.
 +
I was hoping to find an easier way to find a data value in that object, stored in the array list.. I believe I could use lastIndexOf. But I can't seem to get the syntax right..
 +
 +
ArrayList dataList;
 +
//..
 +
class Tanks{
 +
  // enemy data
 +
  String name;
 +
  long scanTime;
 +
}
 +
Thx for any help
 +
- justin

Revision as of 00:05, 27 February 2008

You are probably looking for the Help page from mediawiki.org. If you want somewhere to test wiki edits, try the Sandbox.

Hey Guys, i was hoping to ask for a little Java help. I hope here is an ok spot. I have a class Tanks, where I store data on tanks in an arrayList. I was hoping to find an easier way to find a data value in that object, stored in the array list.. I believe I could use lastIndexOf. But I can't seem to get the syntax right..

ArrayList dataList; //.. class Tanks{

 // enemy data
 String name;
 long scanTime;

} Thx for any help - justin