Re: from false to true in an ArrayList




"ste1986" <steiddon_1@xxxxxxxxxxx> wrote in message
news:bd604d8abbc5fa59080c9e5e908b02e8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> how can i change the value of a boolean in an ArrayList from false to
> true?
>
> public void crbCheck (String name)
> {
> Iterator it = volunteer.iterator();
> while (it.hasNext())
> {
> Volunteer volunteer = (Volunteer) it.next();
> if ((name)volunteer.crbCheck() = false)
> (name)volunteer.crbCheck() = true;
> }
> }
>

Sounds like you need the superior solution proposed on
http://www.thedailywtf.com/

http://www.thedailywtf.com/forums/56201/ShowPost.aspx
or
http://www.thedailywtf.com/forums/49202/ShowPost.aspx

Good luck :)

--
Tony Morris
http://tmorris.net/



.



Relevant Pages

  • Declare function und Pfad
    ... Hallo, wie kann ich den Pfad, der auf eine DLL verweist aus einer Variablen ... ByVal c2 As String, n As Long) As Boolean ... Prev by Date: ...
    (microsoft.public.de.word.vba)
  • Re: Can I tell if *DATA is exhausted? (eof, etc?)
    ... Perl's boolean "false" has a numeric value of 0, ... If you print it, you see the string, i.e. nothing. ... "Reply" at the bottom of the article headers. ... Prev by Date: ...
    (comp.lang.perl.misc)
  • Re: Is a txt file Read-Only?
    ... Public Function DoesFileExist1997(ByVal FilePath As String) As Boolean ... Const FileNotFoundErrNumber As Long = 53 ... Prev by Date: ...
    (comp.databases.ms-access)
  • Method Returns String of Boolean - Why Dont You Need to Include "= True" or "= False" ?
    ... >From a article at Realbasic Univeristy: Column 35 the following method was ... Function bStr(b as boolean) As string ... Prev by Date: ...
    (comp.lang.basic.realbasic)
  • Connecting to Sharepoint Problem
    ... String bstrCurrentFolderUrl, Boolean& pbCanCustomizePages, Boolean& ... pVerGhostedSetupPath, UInt32& pdwPartCount, Object& pvarMetaData, ... pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& ...
    (microsoft.public.biztalk.general)