@Deprecated public class IntegerPool extends Object
Constructor and Description |
---|
IntegerPool(int size)
Deprecated.
Creates an IntegerPool with 0..size Integer objects.
|
Modifier and Type | Method and Description |
---|---|
Integer |
get(int value)
Deprecated.
Returns the shared Integer wrapper for value if it is inside the
range managed by this pool.
|
public IntegerPool(int size)
size
- the size of the pool.public Integer get(int value)
value
- an int
valueInteger
valueCopyright © 2017 The Apache Software Foundation. All rights reserved.