T - 建造对象类型public interface Builder<T> extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Builder.HashKey |
| Modifier and Type | Method and Description |
|---|---|
T |
build()
包装唯一键(System.identityHashCode())使对象只有和自己 equals
此对象用于消除小概率下System.identityHashCode()产生的ID重复问题
|
T build()
Copyright © 2021. All rights reserved.