4
guava 文档目录
source link: https://blog.bitinit.site/2018/10/21/guava/guava%E7%9B%AE%E5%BD%95/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
guava 文档目录
基本工具集(Basic Utilities)
- 使用和避免null (Using/avoiding null):
null
会造成模糊不清、令人困惑的错误和令人不愉快。许多Guava工具类使用快速失败(fail fast)来替代使用null
,而不是盲目的接受它 - 前置条件 (Preconditions):让方法中条件检测更简单
- 排序 (Ordering):Guava的强大的 “fluent
Comparator
“ 类 - 对象方法 (Object methods):简单地实现
Object
方法,例如hashCode()
和toString()
- Throwables:简化了异常和错误的传播与检查
集合(Collections)
图(Graphs)
缓存(Caches)
函数式风格(Functional Idioms)
并发(Concurrency)
字符串处理(Strings)
网络(Networking)
原生类型(Primitives)
Ranges
哈希(Hashing)
事件总线(EventBus)
数学运算(Math)
反射(Reflection)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK