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. LinkedList.patch
        14 kB
        Rustem Rafikov
      2. LinkedListTest.patch
        2 kB
        Rustem Rafikov

        Activity

        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development