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
d8e63ab2f0
commit
977c5a998a
@ -717,10 +717,8 @@ public class FastStream<T> implements Stream<T>, Iterable<T> {
|
|||||||
* @param <A> 给定的数组类型
|
* @param <A> 给定的数组类型
|
||||||
* @return 包含此流元素的指定的数组
|
* @return 包含此流元素的指定的数组
|
||||||
* @throws ArrayStoreException 如果元素转换失败,例如不是该元素类型及其父类,则抛出该异常
|
* @throws ArrayStoreException 如果元素转换失败,例如不是该元素类型及其父类,则抛出该异常
|
||||||
* <p>
|
|
||||||
* 例如以下代码编译正常,但运行时会抛出 {@link ArrayStoreException}
|
* 例如以下代码编译正常,但运行时会抛出 {@link ArrayStoreException}
|
||||||
* <pre>{@code String[] strings = Stream.<Integer>builder().add(1).build().toArray(String[]::new); }</pre>
|
* <pre>{@code String[] strings = Stream.<Integer>builder().add(1).build().toArray(String[]::new); }</pre>
|
||||||
* </p>
|
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public <A> A[] toArray(IntFunction<A[]> generator) {
|
public <A> A[] toArray(IntFunction<A[]> generator) {
|
||||||
|
@ -140,4 +140,5 @@ public class DateTimeTest {
|
|||||||
final String a = "2021-09-27 00:00:99";
|
final String a = "2021-09-27 00:00:99";
|
||||||
new DateTime(a, DatePattern.NORM_DATETIME_FORMAT, false);
|
new DateTime(a, DatePattern.NORM_DATETIME_FORMAT, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user