mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix doc
This commit is contained in:
parent
3a08a399da
commit
719b5a226d
@ -699,6 +699,8 @@ public class ListUtil {
|
||||
* 通过删除或替换现有元素或者原地添加新的元素来修改列表,并以列表形式返回被修改的内容。此方法不会改变原列表。
|
||||
* 类似js的<a href="https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/splice">splice</a>函数
|
||||
*
|
||||
* @param <T> 元素类型
|
||||
* @param list 列表
|
||||
* @param start 指定修改的开始位置(从 0 计数), 可以为负数, -1代表最后一个元素
|
||||
* @param deleteCount 删除个数,必须是正整数
|
||||
* @param items 放入的元素
|
||||
|
@ -18,7 +18,6 @@ import java.util.regex.Pattern;
|
||||
* </p>
|
||||
*
|
||||
* <h2>工具类,提供格式化字符串很多,但是对于具体什么含义,不够清晰,这里进行说明:</h2>
|
||||
* <p>
|
||||
* <b>常见日期格式模式字符串:</b>
|
||||
* <ul>
|
||||
* <li>yyyy-MM-dd 示例:2022-08-05</li>
|
||||
@ -40,8 +39,7 @@ import java.util.regex.Pattern;
|
||||
* <li>EEE MMM dd HH:mm:ss zzz yyyy 示例:周五 8月 05 12:59:00 UTC+08:00 2022,其中z表示UTC时区,但:1~3个z没有任何区别</li>
|
||||
* <li>EEE, dd MMM yyyy HH:mm:ss z 示例:周五, 05 8月 2022 12:59:59 UTC+08:00</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* <p>
|
||||
* 系统提供的,请查看,有大量定义好的格式化对象,可以直接使用,如:
|
||||
* {@link DateTimeFormatter#ISO_DATE}
|
||||
* {@link DateTimeFormatter#ISO_DATE_TIME}
|
||||
|
@ -699,11 +699,8 @@ public class FastStream<T> implements Stream<T>, Iterable<T> {
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回一个包含此流元素的指定的数组
|
||||
* <p>
|
||||
* 例如以下代码编译正常,但运行时会抛出 {@link ArrayStoreException}
|
||||
* 返回一个包含此流元素的指定的数组,例如以下代码编译正常,但运行时会抛出 {@link ArrayStoreException}
|
||||
* <pre>{@code String[] strings = Stream.<Integer>builder().add(1).build().toArray(String[]::new); }</pre>
|
||||
* </p>
|
||||
*
|
||||
* @param generator 这里的IntFunction的参数是元素的个数,返回值为数组类型
|
||||
* @param <A> 给定的数组类型
|
||||
|
Loading…
x
Reference in New Issue
Block a user