Guava 简明教程
Guava - Primitive Utilities
由于 Java 的基本类型不能用在泛型或集合的输入中,Guava 提供了很多包装工具类来将基本类型处理成对象。以下列出一些有用的基本处理工具:
Sr.No |
Utility name & Description |
1 |
BytesUtility for primitive byte. |
2 |
ShortsUtility for primitive short. |
3 |
IntsUtility for primitive int. |
4 |
LongsUtility for primitive long. |
5 |
FloatsUtility for primitive float. |
6 |
DoublesUtility for primitive double. |
7 |
CharsUtility for primitive char. |
8 |
BooleansUtility for primitive boolean. |