Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8350977

AbstractList specification should recommend RandomAccess

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • core-libs
    • None

      The specification for AbstractList directs programmers to create a subclass of AbstractList and to override various methods including indexed versions of get, set, add, and remove. The instructions should further advise the programmer to have the subclass implement the RandomAccess interface, if those indexed methods run in constant time.

            kbourril kevin bourrillion
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: