public class InternUtil extends Object
Constructor and Description |
---|
InternUtil() |
Modifier and Type | Method and Description |
---|---|
static Intern<String> |
of(boolean isWeak)
创建字符串规范化器
|
static Intern<String> |
ofString()
创建JDK默认实现的字符串规范化器
|
static <T> Intern<T> |
ofWeak()
创建WeakHshMap实现的字符串规范化器
|
Copyright © 2025. All rights reserved.