I\'m consolidating code written by two different people and notice that casting a String value into a Long has been done in two different ways.
Coder #1 has done t
i am thinking how to change range and size of the cache for our application, overloaded with Longs;
such change is not supported by j2se api One way is to change loaded java byte code with ClassLoader or even with JVMTI (it allows to keep such trick out of the project, like external tuning)
or, may be, to create external cache and own static cachedValueOf() which is straight forward, but the code depending on some not applicational needs is not nice