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

Return references when possible in GrowableArray

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • hotspot
    • b26

      Currently only `at()` returns references to the element, allowing the caller to choose between copying the element or accessing it directly in the data array. This RFE introduces the same semantics to `at_grow`, `top`, `first` and `last`, which makes the API more streamlined.

            jsjolen Johan Sjölen
            jsjolen Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: