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

(bf) Hoist slice and duplicate methods up to java.nio.Buffer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b120

      At present, 'slice()' and 'duplicate()' are defined separately in all subtypes of java.nio.Buffer. Hoisting them up to the base class (at the same time overriding covariantly in each of the subtypes) would allow more code reuse when working with buffers.

            prappo Pavel Rappo (Inactive)
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: