Deprecated
Use PoolManager for bundling pools instead
Pools by type for convenient static access.
| Modifier and Type | Field and Description |
|---|---|
| public static boolean | |
| private static final ObjectMap | |
| public static boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | |
| public static <T> Pool | |
| public static <T> Pool | |
| public static <T> T | |
| public static <T> void | |
| public static <T> void | set(DefaultPool.
Sets an existing pool for the specified type, stored in a Class to |
| public static <T> void | set(DefaultPool.
Sets an existing pool for the specified type, stored in a Class to |
| THROW_ON_REFLECTION_POOL_CREATION | back to summary |
|---|---|
| public static boolean THROW_ON_REFLECTION_POOL_CREATION | |
| typePools | back to summary |
|---|---|
| private static final ObjectMap<Class<?>, Pool<?>> typePools | |
| WARN_ON_REFLECTION_POOL_CREATION | back to summary |
|---|---|
| public static boolean WARN_ON_REFLECTION_POOL_CREATION | |
| Pools | back to summary |
|---|---|
| private Pools() | |
| free | back to summary |
|---|---|
| public static void free(Object object) Frees an object from the | |
| freeAll | back to summary |
|---|---|
| public static void freeAll(Array<T> objects) Frees the specified objects from the | |
| freeAll | back to summary |
|---|---|
| public static void freeAll(Array<T> objects, boolean samePool) Frees the specified objects from the
| |
| get | back to summary |
|---|---|
| public static <T> Pool Returns a new or existing pool for the specified type, stored in a Class to | |
| get | back to summary |
|---|---|
| public static <T> Pool Returns a new or existing pool for the specified type, stored in a Class to | |
| obtain | back to summary |
|---|---|
| public static <T> T obtain(Class<T> type) Obtains an object from the | |
| set | back to summary |
|---|---|
| public static <T> void set(Class<T> type, Pool<T> pool) Sets an existing pool for the specified type, stored in a Class to | |
| set | back to summary |
|---|---|
| public static <T> void set(DefaultPool. Sets an existing pool for the specified type, stored in a Class to | |
| set | back to summary |
|---|---|
| public static <T> void set(DefaultPool. Sets an existing pool for the specified type, stored in a Class to | |