Getting java.util.ConcurrentModificationException



I have written a game that using min max algorithm, with Vector as
it's tokens and in the algorithm it makes a move and check it's value
and then return to original values, but when i try to use the vector
again it gives me the exception above, that i altered it and therefor
i cannot continue.
i have tried to create a clone of the vetctor so it won't be using the
original vactor and work on the copy but it didnt work.
someone have an idea to help me outa here i am helpless.
thanks,
Roi .
.



Relevant Pages

  • Re: compression type
    ... occurance of what repeats, for there to be a token, for how tokens ... see its construction algorithm. ... It's very limited to think that's the only way to compress, ... made different, to the other shape, where the math to say one shape ...
    (comp.compression)
  • Re: compression type
    ... occurance of what repeats, for there to be a token, for how tokens ... for how a repeat occurance of a length of data can be said ... see its construction algorithm. ... can compress them even though there are no patterns, ...
    (comp.compression)
  • Re: P = NP!
    ... on a public math forum, it seems his algorithm ... We start by, once again, referring to the DNF form even though we're explicitly told we're not trying to solve the DNF form. ... Oh, by the way, the algorithm is essentially "for all tokens in the expression, if one tcis true, then it's satisfiable." ... The first paragraph of the algorithm is easy enough to understand: go through the clauses from left to right, checking to see if each clause has a valid token. ...
    (sci.math)
  • Re: Pin generation algorithm question
    ... As I understand it, you don't need an algorithm, you need randomness. ... You'll have to keep a record of all the tokens in issue. ... you will only get a few random false acceptances to upset your customers. ... have to be kept secret. ...
    (sci.crypt)
  • Re: RSA SecureID on Solaris
    ... On Mon, 8 Apr 2002, adam morley wrote: ... >> Your tokens are provided with a floppy disk which contains an encrypted ... >> The algorithm has been broken in December 2000 but you need to have the ... brute forcing is still pretty hard. ...
    (Focus-SUN)