javautil包括什么
java.util包括许多实用的类和接口,其中包括:
-
集合框架:ArrayList、LinkedList、HashMap、TreeMap、HashSet、TreeSet等。
-
日期和时间处理类:Date、Calendar、SimpleDateFormat、TimeZone等。
-
随机数生成类:Random、SecureRandom等。
-
排序和搜索类:Collections、Arrays等。
-
正则表达式类:Pattern、Matcher等。
-
哈希表类:Hashtable、Properties等。
-
格式化和解析类:Formatter、Scanner等。
-
异常处理类:Exception、RuntimeException等。
-
并发处理类:ConcurrentHashMap、ConcurrentLinkedQueue、Semaphore等。
-
其他实用类:UUID、Timer、TimerTask、Deque等。
原文地址: https://www.cveoy.top/t/topic/hokq 著作权归作者所有。请勿转载和采集!