|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ka2ddo.util.IntegerCache
public class IntegerCache
This class implements a cache similar to the java.lang.Integer class, but for a wider range, so as to reduce the number of duplicate-valued Integer wrapper objects cluttering up the heap.
| Constructor Summary | |
|---|---|
IntegerCache()
|
|
| Method Summary | |
|---|---|
static java.lang.Integer |
valueOf(int v)
Get an Integer object corresponding to the specified primitive value, using the cache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegerCache()
| Method Detail |
|---|
public static java.lang.Integer valueOf(int v)
v - int value to wrap
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||