Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.util
Class IntegerCache

    java.lang.Object
      org.ka2ddo.util.IntegerCache

    public class IntegerCache

extends java.lang.Object

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

### IntegerCache

    public IntegerCache()

Method Detail

### valueOf

    public static java.lang.Integer valueOf(int v)

  Get an Integer object corresponding to the specified primitive value, using the cache

  Parameters:
    `v` - int value to wrap
  Returns:
    Integer object with the value of v

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD