Search:

Type: Posts; User: jkalm

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    5,535

    Re: Priority Queue using comparable

    I'm having trouble trying to move all elements right in this queue. For example, I need to place something in between others because it's priority says it's in there, so how would i make space for it...
  2. Replies
    6
    Views
    5,535

    Re: Priority Queue using comparable

    Ok, ill give it try.. Am i along the right track with what i have though??
  3. Replies
    6
    Views
    5,535

    Re: Priority Queue using comparable

    I think we have to make it generic and able to work with any kind of object?? Ye its a class exercise.. im just wondering if my enqueue method is on the right track.. "Joining the queue...
  4. Replies
    6
    Views
    5,535

    Priority Queue using comparable

    Hey,

    Im trying to make a Prioity Queue that uses the queue interface and comparable.. The objects will be placed in depending on their priority.. i'm having a bit of trouble with it, probaly...
Results 1 to 4 of 4