T
- 可变的类型public class MutableObj<T> extends Object implements Mutable<T>, Serializable
Object
Constructor and Description |
---|
MutableObj()
构造,空值
|
MutableObj(T value)
构造
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
T |
get()
获得原始值
|
int |
hashCode() |
static <T> MutableObj<T> |
of(T value)
构建MutableObj
|
void |
set(T value)
设置值
|
String |
toString() |
public MutableObj()
public MutableObj(T value)
value
- 值public static <T> MutableObj<T> of(T value)
T
- 值类型value
- 被包装的值Copyright © 2024. All rights reserved.