Search:

Type: Posts; User: helloworld922

Search: Search took 0.19 seconds.

  1. Replies
    6
    Views
    5,533

    Re: Priority Queue using comparable

    I kind of doubt it, it makes no sense to try and compare say a BufferedImage object to your Film object.
  2. Replies
    6
    Views
    5,533

    Re: Priority Queue using comparable

    I take it that the variable duration is a number? You can just subtract the two numbers. Also, Comparable interfaces must implement what they are comparable to (generally you don't want this to be a...
Results 1 to 2 of 2