public class GlobalObjectPool extends Object
| Constructor and Description |
|---|
GlobalObjectPool() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
清空全局变量
|
static <T> T |
get(Object id)
获取对象
|
static <T> T |
put(Object id,
T value)
存放全局变量
|
Copyright © 2014–2021 码农场. All rights reserved.