Search:

Type: Posts; User: Twon23

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    1,879

    Re: Avoiding concurrent modification exception?

    This seems to work for me so far:


    private static void TitleCheck(String n){
    boolean found = false;
    String title = null;
    int pos;
    pos = n.indexOf(':');
    if(pos != -1){ ...
  2. Replies
    4
    Views
    1,879

    Re: Avoiding concurrent modification exception?

    What I'm trying to do is read through a text file and look for titles then add them to an array just the once. The titles are repeated multiple times in the text file, so I'm trying to just add them...
  3. Replies
    4
    Views
    1,879

    Avoiding concurrent modification exception?

    Hi all.

    I'm wanting to modify an array while it is In use but this throws the exception in the title above. So what is the best way around this? Cloning the array? If I clone the array what is the...
Results 1 to 3 of 3