RE: New java.util.Strings class

2021-05-23 Thread Alberto Otero Rodríguez
: domingo, 23 de mayo de 2021 14:14 Para: Alberto Otero Rodríguez Cc: core-libs-dev@openjdk.java.net Asunto: Re: New java.util.Strings class Hello! > 1) I based my code in the current java.util.Objects class of Java 16. I don't > know why the Objects class was a good idea, but the Strings

Re: New java.util.Strings class

2021-05-23 Thread Tagir Valeev
prepared for applications programmed in completely different > ways. > > Regards, > > Alberto. > > > De: Raffaello Giulietti > Enviado: sábado, 22 de mayo de 2021 13:22 > Para: core-libs-dev@openjdk.java.net ; > Alberto Otero Rodríguez

RE: New java.util.Strings class

2021-05-22 Thread Alberto Otero Rodríguez
plications programmed in completely different ways. Regards, Alberto. De: Raffaello Giulietti Enviado: sábado, 22 de mayo de 2021 13:22 Para: core-libs-dev@openjdk.java.net ; Alberto Otero Rodríguez Asunto: Re: New java.util.Strings class Hi Alberto

Re: New java.util.Strings class

2021-05-22 Thread Raffaello Giulietti
thod) Regards, Alberto Otero Rodríguez. De: Alberto Otero Rodríguez Enviado: miércoles, 19 de mayo de 2021 11:36 Para: core-libs-dev@openjdk.java.net Asunto: RE: New java.util.Strings class Hi, I have made some changes to the Strings class I proposed in my

RE: New java.util.Strings class

2021-05-21 Thread Alberto Otero Rodríguez
Otero Rodríguez Enviado: miércoles, 19 de mayo de 2021 11:36 Para: core-libs-dev@openjdk.java.net Asunto: RE: New java.util.Strings class Hi, I have made some changes to the Strings class I proposed in my previous message. The changes are: * Use str.isEmpty() instead of EMPTY_STRING.equals

RE: New java.util.Strings class

2021-05-19 Thread Alberto Otero Rodríguez
to the previous message. Please, take this one in consideration. Regards, Alberto Otero Rodríguez. De: Alberto Otero Rodríguez Enviado: lunes, 17 de mayo de 2021 14:58 Para: core-libs-dev@openjdk.java.net Asunto: New java.util.Strings class Hi, members of the core

New java.util.Strings class

2021-05-17 Thread Alberto Otero Rodríguez
Hi, members of the core-libs developers of OpenJDK. I think Java needs a Strings class similar to the java.util.Objects class of Java 16 to be used in method arguments, return types and Stream filters. I have coded it myself here based on the Objects implementation of Java 16 (please have a