> sorry for xcrosslist - just did it once.
>
[quoted text clipped - 7 lines]
>
> GreenMountainBoy
On Feb 19, 7:30 am, "Boaz....@gmail.com" <Boaz....@gmail.com> wrote:
> On Feb 19, 6:56 am, "GreenMountainBoy" <william.fi...@gmail.com>
> wrote:
[quoted text clipped - 30 lines]
> for more exact help i will need more info about what you are trying to
> do
I am trying to implement a linkedList program using Generics -
LinkedList with an iterator. The only data in each node is a single
string. I need to be able to add a string to a new node, and also have
a separate snippet which allows for a search of the linked list (using
Generics LinkedList structure) for a match on the string stored in one
of the nodes - if no match is found, return "NO MATCH" -
this must be done using the LinkedList from the Generics utility
class.
Please see if this helps and give me a clue as to how to get started.
Thank you,
GreenMountainBoy
Mark Rafn - 19 Feb 2007 20:02 GMT
>I am trying to implement a linkedList program using Generics -
>LinkedList with an iterator.
Why not use java.util.LinkedList<String>? Or if this is homework, why not
look at the source for java.util.LinkedList to learn (steal) from?
>Please see if this helps and give me a clue as to how to get started.
Start by telling us what you've tried so far, and ask very specific questions
about where you're stuck. This group sucks at writing your homework for you,
on purpose.
--
Mark Rafn dagon@dagon.net <http://www.dagon.net/>