public class IntegerPool extends Object
| Constructor and Description |
|---|
IntegerPool(int size)
Creates an IntegerPool with 0..size Integer objects.
|
public IntegerPool(int size)
size - the size of the pool.public Integer get(int value)
value - an int valueInteger valueCopyright © 2015 The Apache Software Foundation. All rights reserved.