Re: [LANG] constants (static final fields) defined using wrapper types (for example, in org.apache.commons.lang.math.NumberUtils)

2013-10-21 Thread Jens Dietrich
Hen? Matt? >> >> AFAIK, these are just commonly used constant values which are not >> provided by the standard Java classes. >> >> This avoids the overhead of boxing for code that needs Long rather than >> long. >> >>> If your looking for material

constants (static final fields) defined using wrapper types (for example, in org.apache.commons.lang.math.NumberUtils)

2013-10-15 Thread Jens Dietrich
Hi, I have a quick question regarding the use of constants in Apache Commons - in some classes/interfaces like org.apache.commons.lang.math.NumberUtils some constants are defined using wrapper types and not primitive types. What are the reasons for this? The background of my question is that I