public final class ObjectArrayPool extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ObjectArrayPool.SizePool |
Constructor and Description |
---|
ObjectArrayPool() |
Modifier and Type | Method and Description |
---|---|
Object[] |
create(int arraySize) |
Object[] |
create(Object singleton) |
Object[] |
create(Object object1,
Object object2) |
Object[] |
create(Object object1,
Object object2,
Object object3) |
Object[] |
create(Object object1,
Object object2,
Object object3,
Object object4) |
Object[] |
create(Object object1,
Object object2,
Object object3,
Object object4,
Object object5) |
ObjectArrayPool.SizePool |
getSizePool(int arraySize) |
IntHashMap |
getSizePools() |
void |
recycle(Object[] value) |
public IntHashMap getSizePools()
public ObjectArrayPool.SizePool getSizePool(int arraySize)
public Object[] create(int arraySize)
public Object[] create(Object object1, Object object2, Object object3, Object object4, Object object5)
public void recycle(Object[] value)
Copyright © 1997–2021 The Apache Software Foundation. All rights reserved.