RFR 8135248: Add utility methods to check indexes and ranges

Paul Sandoz paul.sandoz at oracle.com
Fri Sep 25 07:49:08 UTC 2015


On 25 Sep 2015, at 09:39, Remi Forax <forax at univ-mlv.fr> wrote:
> Hi Paul, hi chris,
> 
> ----- Mail original -----
>> De: "Chris Hegarty" <chris.hegarty at oracle.com>
>> À: "Paul Sandoz" <paul.sandoz at oracle.com>
>> Cc: "core-libs-dev" <core-libs-dev at openjdk.java.net>
>> Envoyé: Jeudi 24 Septembre 2015 11:06:36
>> Objet: Re: RFR 8135248: Add utility methods to check indexes and ranges
>> 
>> On 24 Sep 2015, at 08:40, Paul Sandoz <paul.sandoz at oracle.com> wrote:
>> 
>>> On 23 Sep 2015, at 18:11, Rémi Forax <forax at univ-mlv.fr> wrote:
>>>>> 
>>>>> Because i want to support the simple cases without pulling in indy.
>>>> 
>>>> and what about using an anonymous class instead ?
>>>> 
>>> 
>>> Not an anonymous one, but i think i know what you mean :-)
> 
> it can be an anonymous one:
>  private static final BiFunction<Integer, Integer, IOOBE> DEFAULT = new BiFunction<>() { ... };
> 
> anyway …
> 

Oh yes, sorry, i mentally read it as  “anonymous inner”.

Paul.



More information about the core-libs-dev mailing list