Re: [commons-lang3] NumberUtils feature

2017-12-29 Thread Gilles
On Fri, 29 Dec 2017 16:19:05 -0200, Lucas Carvalho wrote: Gilles, thanks for you reply. I will consider your sugestions. So, can i open a issue in jira (apache commons) and implement this feature? Better wait for other opinions on the various suggestions, as it impacts on which JIRA project

Re: [commons-lang3] NumberUtils feature

2017-12-29 Thread Lucas Carvalho
Gilles, thanks for you reply. I will consider your sugestions. So, can i open a issue in jira (apache commons) and implement this feature? Thanks. Lucas Carvalho On Fri, Dec 29, 2017 at 12:25 PM, Gilles wrote: > Hi. > > On Fri, 29 Dec 2017 11:53:29 -0200, Lucas Carvalho wrote: > >> I`m sor

Re: [commons-lang3] NumberUtils feature

2017-12-29 Thread Gilles
Hi. On Fri, 29 Dec 2017 11:53:29 -0200, Lucas Carvalho wrote: I`m sorry, Now code in "text": public static boolean between(final int value, final int x, final int y) { return value >= x && value <= y; } public static boolean between(final short value, final short x, final short y) {

Re: [commons-lang3] NumberUtils feature

2017-12-29 Thread Lucas Carvalho
I`m sorry, Now code in "text": public static boolean between(final int value, final int x, final int y) { return value >= x && value <= y; } public static boolean between(final short value, final short x, final short y) { return value >= x && value <= y; } Obrigado. Atenciosamente

Re: [commons-lang3] NumberUtils feature

2017-12-29 Thread Gilles
Hi. On Fri, 29 Dec 2017 09:51:59 -0200, Lucas Carvalho wrote: Hello everybody, I want know if the feature "between" in NumberUtils lib has be discussed? I use this methods a lot and i would like to share this code in apache commons. Below i share a example: [image: Inline image 1] All I c