public final class ObjectsPool extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ART_NODE_16 |
static int |
ART_NODE_256 |
static int |
ART_NODE_4 |
static int |
ART_NODE_48 |
static int |
DIRECT_BUCKET |
static int |
DIRECT_ORDER |
static int |
ORDER |
static int |
SYMBOL_POSITION_RECORD |
| Constructor and Description |
|---|
ObjectsPool(Map<Integer,Integer> sizesConfig) |
| Modifier and Type | Method and Description |
|---|---|
static ObjectsPool |
createDefaultTestPool() |
<T> T |
get(int type,
Function<ObjectsPool,T> constructor) |
<T> T |
get(int type,
Supplier<T> supplier) |
void |
put(int type,
Object object) |
public static final int ORDER
public static final int DIRECT_ORDER
public static final int DIRECT_BUCKET
public static final int ART_NODE_4
public static final int ART_NODE_16
public static final int ART_NODE_48
public static final int ART_NODE_256
public static final int SYMBOL_POSITION_RECORD
public static ObjectsPool createDefaultTestPool()
public <T> T get(int type,
Supplier<T> supplier)
public <T> T get(int type,
Function<ObjectsPool,T> constructor)
public void put(int type,
Object object)
Copyright © 2020. All rights reserved.