utils包需要关注的主要有

​ 集合框架、并发包、函数式编程、观察者模式@see PropertyChangeSupport

java.util(集合框架)

Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).

包含集合框架、遗留集合类、事件模型、日期和时间工具、国际化和杂项实用程序类(字符串记号赋予器、随机数生成器和位数组)。

JDK-The-Collections-Framework

java.util.concurrent (并发包 、 原子类、锁)

Utility classes commonly useful in concurrent programming.

java.util.concurrent.atomic A small toolkit of classes that support lock-free thread-safe programming on single variables.

java.util.concurrent.locks Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors.

JDK-The-Concurrent-Framework

java.util.function (函数式编程)

Functional interfaces provide target types for lambda expressions and method references.

There are several basic function shapes, including Function (unary function from T to R), Consumer (unary function from T to void) 大专栏  JDK_Packages_java_utils, Predicate (unary function from T to boolean), and Supplier (nilary function to R).

java.util.stream(流式编程)

Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.

类来支持元素流上的函数式操作,例如集合上的映射-reduce转换。

java.util.logging(日志)

Provides the classes and interfaces of the JavaTM 2 platform’s core logging facilities.

java.util.prefs

This package allows applications to store and retrieve user and system preference and configuration data.

这个包允许应用程序存储和检索用户和系统首选项以及配置数据。

java.util.regex

Classes for matching character sequences against patterns specified by regular expressions.

用于根据正则表达式指定的模式匹配字符序列的类。

java.util.spi

Service provider classes for the classes in the java.util package.

用于java中的类的服务提供程序类

java.util.zip(读写zip)

Provides classes for reading and writing the standard ZIP and GZIP file formats.

java.util.jar(jar包工具)

Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file.

JDK_Packages_java_utils的更多相关文章

随机推荐

  1. Python判断一个字符串是否包含子串的几种方法

    转自---http://blog.csdn.net/yl2isoft/article/details/52079960 1.使用成员操作符 in >>> s='nihao,shiji ...

  2. 用Plotily处理数据的基本操作

    import pandas as pd # 导入数据.scv df = pd.read_csv(" .csv") # 查看前五行数据 df.head() # 查看一下数据描述 df ...

  3. liblinear中的信赖域算法

    求方程 \(H s = -g\), H是hessian矩阵, g 为梯度, 残量 \(r = -g -Hs\). s的初值为0,理论上,共轭梯度每步迭代使得\(\|s\|\) 单调增加,共轭梯度的迭代 ...

  4. C++ malloc()函数的注意点及使用示例

    1.malloc()函数的头文件是stdlib.h,其函数声明如下: void* malloc(size_t size); 其中参数size_t size表示动态内存分配空间的大小,以字节为单位. s ...

  5. socker通信-struct模块-粘包问题

    Socket概念 Socket是应用层与TCP/IP协议族通信的中间软件抽象层,它是一组接口.在设计模式中,Socket其实就是一个门面模式,它把复杂的TCP/IP协议族隐藏在Socket接口后面,对 ...

  6. 阿里OSS下载文件,提示The request signature we calculated does not match the signature you provided. Check your key and signing method

    提示说是签名不对,但没搞懂签名具体是啥,以为之前做过,有正确的,就一点点比对,最后发现竟然是下载的文件路径,里面必须是/,而不能是\或\\,搞得我哭笑不得.比如,要下载的文件路径是:soft/cszt ...

  7. DFS---迷宫问题

    #include<iostream> #include<string> #include<cstring> using namespace std;//dfs in ...

  8. GSON转换成Long型变为科学计数法及时间格式转换异常的解决方案

    直接上工具类了,简单实用 public class GsonUtils { private static Gson gson = null; static { if (gson == null) { ...

  9. JS如何按时间粒度获取date的时间差

    获取date类型 var type = _xAxis[0].split(/-|:|\s/).length; 按时间粒度获取date的时间差 function getDateDiffByType(new ...

  10. Box and Ball

    题目描述 We have N boxes, numbered 1 through N. At first, box 1 contains one red ball, and each of the o ...