org.openorb.util
Class CharacterCache
java.lang.Object
|
+--org.openorb.util.CharacterCache
- public final class CharacterCache
- extends Object
A utility class for obtaining Character instances.
The following system properties are used to configure the cache:
| Key |
Value |
openorb.cache.disable |
Set this to false to disable all caching.
Note that this also disables Number caching.
|
openorb.cache.character.min |
The min (inclusive) Character value to cache
(default ).
|
openorb.cache.character.max |
The max (inclusive) Character value to cache
(default ÿ).
|
The min and max values can be specified as either a literal or a unicode escape.
- Version:
- $Revision: 1.4 $ $Date: 2004/06/23 07:13:18 $
- Author:
- Richard G Clark
- See Also:
NumberCache
|
Method Summary |
static Character |
getCharacter(char value)
Gets the Character instance for the specifed value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCharacter
public static Character getCharacter(char value)
- Gets the
Character instance for the specifed value.
- Parameters:
value - the value for the object- Returns:
- the
Character instance