public class IntegerPool
extends java.lang.Object
| Constructor and Description |
|---|
IntegerPool(int size)
Creates an IntegerPool with 0..size Integer objects.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
get(int value)
Returns the shared Integer wrapper for value if it is
inside the range managed by this pool.
|
Copyright ? 2008 Jason Baldridge, Gann Bierner, and Thomas Morton. All Rights Reserved.