Search:

Type: Posts; User: snowguy13

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    1,799

    Re: Do Class Casts Work With Arrays?

    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...
  2. Replies
    8
    Views
    1,799

    Re: Do Class Casts Work With Arrays?

    That's exactly how I feel! At least the get() method returns the right object type.
  3. Replies
    8
    Views
    1,799

    Re: Do Class Casts Work With Arrays?

    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!
  4. Replies
    8
    Views
    1,799

    Re: Do Class Casts Work With Arrays?

    Okay. Hm... That organization strikes me as odd...

    But, anyway, thank you! :D
  5. Replies
    8
    Views
    1,799

    Do Class Casts Work With Arrays?

    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)
    {
    ...
Results 1 to 5 of 5