| Package | Description |
|---|---|
| com.almasb.fxgl.core.pool | |
| com.almasb.fxgl.service |
| Modifier and Type | Class and Description |
|---|---|
class |
ReflectionPool<T>
Pool that creates new instances of a type using reflection.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Pool<T> |
Pools.get(Class<T> type)
The max size of the pool used is 100.
|
static <T> Pool<T> |
Pools.get(Class<T> type,
int max)
Returns a new or existing pool for the specified type, stored in a Class to
Pool map. |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
Pools.set(Class<T> type,
Pool<T> pool)
Sets an existing pool for the specified type, stored in a Class to
Pool map. |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
Pooler.registerPool(Class<T> type,
Pool<T> pool)
Make the pooler use the given pool for given type.
|
Copyright © 2017. All rights reserved.