JDK_Packages_java_utils
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).
包含集合框架、遗留集合类、事件模型、日期和时间工具、国际化和杂项实用程序类(字符串记号赋予器、随机数生成器和位数组)。
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.
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的更多相关文章
随机推荐
- gcc -S xx
编译器的核心任务是把C程序翻译成机器的汇编语言(assembly language).汇编语言是人类可以阅读的编程语言,也是相当接近实际机器码的语言.由此导致每种 CPU 架构都有不同的汇编语言. 实 ...
- jedis异常Broken pipe (Write failed)
异常:java.net.SocketException: Broken pipe (Write failed); nested exception is redis.clients.jedis.exc ...
- 17.3.15---C语言详解FILE文件操作
FILE 是 C语言文件结构定义, 打开文件和文件操作要用到这类结构.可以看成变量类型,用于变量声明.这个是一种数据结构类型,用来表示一个文件的相关信息,如果定义了一个文件指针,就用这个指针来指向某个 ...
- Iterator接口(迭代器)的使用
Iterator接口(迭代器) 前言 在程序开发中,经常需要遍历集合中的所有元素.针对这种需求,JDK专门提供了一个接口java.util.Iterator.Iterator接口也是Java集合中的一 ...
- Android如何制作自己的依赖库上传至github供别人下载使用
Android如何制作自己的依赖库上传至github供别人下载使用 https://blog.csdn.net/xuchao_blog/article/details/62893851
- C#的静态方法和实例化方法的区别
C#的静态方法和实例化方法的区别 在大多数时候,我们写一个方法,会把方法区分为实例化方法和静态方法.而当被问到静态方法和实例化方法的区别的时候,我在写这篇文章的前10分钟,或许我会回答:"静 ...
- C实现日志等级控制
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h&g ...
- 项目课 day02.1
JWT - json-web-token json.dumps(d,separators = (',' , ':')) separators:分隔符,键值对之间 ,相连, jwt.encode({' ...
- sql的书写顺序
例:select t.* from (select * from t_user where isDelete = 1 limit 0,10) t order by t.qq select from ...
- com.google.zxing:core 生成二维码的简单使用
String content = ""; int size = 240; Hashtable<EncodeHintType, String> hints = new H ...