|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopennlp.maxent.IntegerPool
public class IntegerPool
A pool of read-only, unsigned Integer objects within a fixed, non-sparse range. Use this class for operations in which a large number of Integer wrapper objects will be created. Created: Sat Oct 27 10:59:11 2001
| Constructor Summary | |
|---|---|
IntegerPool(int size)
Creates an IntegerPool with 0..size Integer objects. |
|
| Method Summary | |
|---|---|
java.lang.Integer |
get(int value)
Returns the shared Integer wrapper for value if it is inside the range managed by this pool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegerPool(int size)
size - the size of the pool.| Method Detail |
|---|
public java.lang.Integer get(int value)
value - an int value
Integer value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||