Harmony
  1. Harmony
  2. HARMONY-494

Java 5 Enhancement: LinkedList should implement interface Queue and its methods

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      None

      Description

      1.5 LinkedList should implement Queue interface (poll(), remove(), offer() and element() methods)

      1. LinkedListTest.patch
        2 kB
        Rustem Rafikov
      2. LinkedList.patch
        14 kB
        Rustem Rafikov

        Activity

        Rustem Rafikov created issue -
        Rustem Rafikov made changes -
        Field Original Value New Value
        Attachment LinkedList.patch [ 12334443 ]
        Rustem Rafikov made changes -
        Attachment LinkedListTest.patch [ 12334444 ]
        Hide
        Rustem Rafikov added a comment -

        patches for LinkedList and its unit tests are attached.
        LinkedList.patch also adds generics to the LinkedList.

        Show
        Rustem Rafikov added a comment - patches for LinkedList and its unit tests are attached. LinkedList.patch also adds generics to the LinkedList.
        Nathan Beyer made changes -
        Assignee Nathan Beyer [ nbeyer ]
        Nathan Beyer made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Nathan Beyer added a comment -

        I applied a modified version of the patch at revision 413330. Please check that the code was applied as expected. Thanks.

        Show
        Nathan Beyer added a comment - I applied a modified version of the patch at revision 413330. Please check that the code was applied as expected. Thanks.
        Nathan Beyer made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Hide
        Rustem Rafikov added a comment -

        Looks fine. Thanks Nathan!

        Show
        Rustem Rafikov added a comment - Looks fine. Thanks Nathan!
        Hide
        Nathan Beyer added a comment -

        Verified.

        Show
        Nathan Beyer added a comment - Verified.
        Nathan Beyer made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        18d 6h 59m 1 Nathan Beyer 10/Jun/06 23:22
        In Progress In Progress Resolved Resolved
        33m 29s 1 Nathan Beyer 10/Jun/06 23:55
        Resolved Resolved Closed Closed
        4d 6h 37m 1 Nathan Beyer 15/Jun/06 06:33

          People

          • Assignee:
            Nathan Beyer
            Reporter:
            Rustem Rafikov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development