Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.18 seconds.

  1. Replies
    6
    Views
    1,945

    Re: Comparing Generics; Quick Question

    What happened when you tried? Are you supposed to be able to use decimals?
  2. Replies
    6
    Views
    1,945

    Re: Comparing Generics; Quick Question

    Well, you have to come up with rules to determine what "largest" means for different Objects. When is one JTable greater than another JTable?

    Are you sure Node is supposed to be a generic class? I...
  3. Replies
    6
    Views
    1,945

    Re: Comparing Generics; Quick Question

    The error pretty much explains it all. You can't use arithmetic operators on Objects. You can use them on Integers or Doubles or Floats, only because of auto-unboxing, but you can't use them on...
Results 1 to 3 of 3