Search:

Type: Posts; User: rsala004

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    2,285

    Re: Iterator, with ArrayList

    xD

    I found a solution a little while ago :O

    by setting the type of the iterator, didnt know i could do it.



    Iterator<word> itr = words.iterator();
  2. Replies
    3
    Views
    2,285

    Iterator, with ArrayList

    I get compile error when trying to use method of something i got off iterator.next()

    first off, I have a class named word, it has a method called getWord which returns a String.



    import...
Results 1 to 2 of 2