I cant directly see the condition at any one point. I need to search the entire ArrayList to see if the String currName value is the Name variable of any of the objects in the list ArrayList. So as...
Type: Posts; User: aussiemcgr
I cant directly see the condition at any one point. I need to search the entire ArrayList to see if the String currName value is the Name variable of any of the objects in the list ArrayList. So as...
I tried this:
boolean checkIfIn = false;
for(int y=0;y<list.size();y++)
{
if(list.get(y).Name.equals(currName))
{
checkIfIn =...
Ok, this is really killing me now.
In the following code, I have placed a comment where I want to skip the rest of the loop steps if a condition is met.
for(int...
I want to know if it is possible to break out of an If/Else statement that is inside a loop. For example, you enter the Else Statement, do some more stuff, and under a condition that was determined...