Search:

Type: Posts; User: twi

Search: Search took 0.18 seconds.

  1. help with deque implementation using arrays in java

    I did an implementation of a double ended queue using arrays. I thought everything works but it stops working correctly when I removeRight() and then insertleft() it gives me bad out put.
    this is my...
  2. Re: i need to add an item to my array in ascending order by using the compareTo metho

    every time i add an item if it contains in the array then boolean add is false and nothing happens like in the output number 2... every time i add a number it enters the item in the position it needs...
  3. i need to add an item to my array in ascending order by using the compareTo method...

    something is wrong with my boolean add method... something is not working good with my loops. can anyone help me please.
    this is the code I have:


    public boolean add(AnyType x)
    {
    ...
Results 1 to 3 of 3