Ah, so it basically says that the traces of parameterized classes are lost declaring an instance of the class; if I declared an array of Foo<Integer>, the program still wouldn't be able to pick up an...
Type: Posts; User: snowguy13
Ah, so it basically says that the traces of parameterized classes are lost declaring an instance of the class; if I declared an array of Foo<Integer>, the program still wouldn't be able to pick up an...
That's exactly how I feel! At least the get() method returns the right object type.
That's a very interesting idea. I'd have to read more into Iterators (though I think I get the gist of them). Thank you!
Okay. Hm... That organization strikes me as odd...
But, anyway, thank you! :D
Hello, everyone! I have recently run into a problem with a soccer team manager program I'm writing.
Here's the code:
public Player[] getPlayersThatMeetQuery(Player[] playersToTest)
{
...