java.nio.Buffer: slice, duplicate, compact
Ulf Zibis
Ulf.Zibis at CoSoCo.de
Thu Feb 25 01:13:48 UTC 2016
Another alternative could be:
Simply implicit method invocation chaining
<http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/001180.html>
It would simplify the libraries, make overriding superfluous, save byte code footprint, allow final
methods in the base class and therfore enhance performance.
-Ulf
Am 25.02.2016 um 00:42 schrieb Brian Burkhalter:
> Hi Pavel,
>
> I think these issues might be germane:
>
> https://bugs.openjdk.java.net/browse/JDK-6451131
> https://bugs.openjdk.java.net/browse/JDK-8040819
>
> Brian
>
> On Feb 24, 2016, at 1:01 PM, Pavel Rappo <pavel.rappo at oracle.com> wrote:
>
>> Are there any reasons why those methods cannot be defined in java.nio.Buffer and
>> overridden in its descendants covariantly? Those operations seem to be
>> completely type type-agnostic.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160225/c3e65211/attachment.html>
More information about the nio-dev
mailing list