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的更多相关文章
随机推荐
- MySql数据库,查询数据导出时会出现重复的记录(数据越多越明显)
在查询数据时,数据量多的时候,我们会使用分页功能. 每页显示多少数据. 这种情况下,一半看不出什么问题. 而导出数据时,有时就是通过分页的方法,逐步讲数据追加到导出文件中. 当全部数据都导出之后,就有 ...
- 几个Java基础题
1.java中线程能不能重复start t1.start(); System.out.println("ssss"); t1.start(); 答:第一 ...
- goweb-go语言基础
go语言基础 虽然这本书是讲goweb,但还是吧go语言基础过了一遍,由于我之前已经对go语言基础做了一遍系统的学习,这里就当简单回顾一下,不再写过多笔记了,之前的写的博客都有基础知识,O(∩_∩)O ...
- LeetCode——15. 三数之和
给定一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a + b + c = 0 ?找出所有满足条件且不重复的三元组. 注意:答案中不可以包含重复的三元组. ...
- C#匿名委托,匿名函数,lambda表达式
一.类型.变量.实例之间的关系. 类型>变量>实例 类型可以创建变量,实体类可以创建实例,实例可以存储在变量里. 二.委托使用过程: 1.定义委托(写好签名): 2.创建委托变量: 3.给 ...
- VS2010无法调试页面问题
图片: VS2010报:未能将脚本调试器附加到计算机XXX上的进程iexplore.exe . 已附加了一个调试器”.启动调试失败. 解决:1.以管理员身份打开CMD; 2.运行:regsvr32.e ...
- jQuery方法及使用
jQuery内容: 选择器 筛选器 样式操作 文本操作 属性操作 文档处理 事件 动画效果 插件 each.data.Ajax 剩余未写的有: 1.表单筛选器: :text :password :fi ...
- mqtt协议系统设计参考
作者:极寒链接:https://zhuanlan.zhihu.com/p/28525517来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转载请注明出处. 回顾自己的工作经历最遗憾的是没 ...
- arm汇编几个经典例题
这几个例题来自我们的上机实验,通过这几个例题基本上能掌握arm汇编一些最基本的操作 arm汇编实现1-100的加法 12345678910111213 AREA Example1,CODE,READO ...
- [LC] 348. Design Tic-Tac-Toe
Design a Tic-tac-toe game that is played between two players on a nx n grid. You may assume the foll ...