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的更多相关文章
随机推荐
- SQL服务器攻击总结-注入
查库选择convert(int,db_name())sysobjects 查当前表id,从sysobjects中选择id,xtype ='u'//此处要记录下数据库的id syscolumns查表对应 ...
- 合并石子(非dp版)
题:https://ac.nowcoder.com/acm/contest/4137/N 分析:注意题意,收益是a[i]*a[i+1],所以分析得,是∑∑a[i]*a[j] #include<b ...
- 第二代网关GateWay搭建流程
Spring Cloud第二代网关GateWay是由纯Netty开发,底层为Reactor,WebFlux构建,不依赖任何Servlet容器,它不同于Zuul,使用的是异步IO,性能较Zuul提升1. ...
- auctex 11.86的墓志铭
卸载了emacs23,在Ubuntu 软件中心搜索并安装了emacs24.3.把auctex11.86也卸载了(自然,在.emacs文件里也注释掉了它的加载路径,但是我不会删去那段代码的.让注释的那段 ...
- Spring 的 IOC 和 AOP 的理解
Spring 的 IOC 和 AOP 的理解: https://www.jianshu.com/p/bf1adc3b75e6 对Spring的核心(AOP和IOC)的理解(大白话) https://w ...
- centos6.9防火墙设置
1.输入:cat /etc/issue 查看版本 2. service命令开启以及关闭防火墙为即时生效,下次重启机器的时候会自动复原. 查看防火墙状态:service iptables statu ...
- django框架进阶-解决跨域问题
####################################### """ 一.为什么会有跨域问题? 是因为浏览器的同源策略是对ajax请求进行阻拦了,但是不 ...
- 快手为什么要全资收购Acfun?
近日据媒体报道,快手已完成对「Acfun」以下简称A站的全资收购.未来A站仍将保持独立品牌和独立运营以及原有团队的独立发展.近年来,A站可谓命途多舛.相比隔壁B站风风光光顺利上市且成为真正的二次元大本 ...
- layui从url中取值 ajax获取当前链接中的变量
在使用layui(javascript)的时候, 需要从当前页面的url地址中取值, 例如: http://localhost:8081/html/fund-purchase.html?fundID ...
- webapck imports-loader和exports-loader的使用
webapck imports-loader和exports-loader的使用