mirror of
https://gitee.com/dromara/hutool.git
synced 2025-07-31 16:11:50 +08:00
fix doc
This commit is contained in:
parent
c205e7383d
commit
836d43a60e
@ -2842,6 +2842,8 @@ public class CollUtil {
|
||||
*
|
||||
* @param <F> 源元素类型
|
||||
* @param <T> 目标元素类型
|
||||
* @param collection 集合
|
||||
* @param function 转换函数
|
||||
* @return 新类型的集合
|
||||
* @since 5.4.3
|
||||
*/
|
||||
|
@ -16,6 +16,8 @@ public class SpliteratorUtil {
|
||||
*
|
||||
* @param <F> 源元素类型
|
||||
* @param <T> 目标元素类型
|
||||
* @param fromSpliterator 源{@link Spliterator}
|
||||
* @param function 转换函数
|
||||
* @return 新类型的{@link Spliterator}
|
||||
*/
|
||||
public static <F, T> Spliterator<T> trans(Spliterator<F> fromSpliterator, Function<? super F, ? extends T> function) {
|
||||
|
@ -14,10 +14,12 @@ public class ChineseMonth {
|
||||
/**
|
||||
* 当前农历月份是否为闰月
|
||||
*
|
||||
* @param year 农历年
|
||||
* @param month 农历月
|
||||
* @return 是否为闰月
|
||||
* @since 5.4.2
|
||||
*/
|
||||
public static boolean isLeapMonth(int year, int month){
|
||||
public static boolean isLeapMonth(int year, int month) {
|
||||
return month == LunarInfo.leapMonth(year);
|
||||
}
|
||||
|
||||
@ -26,7 +28,7 @@ public class ChineseMonth {
|
||||
* 当为传统表示时,表示为二月,腊月,或者润正月等
|
||||
* 当为非传统表示时,二月,十二月,或者润一月等
|
||||
*
|
||||
* @param isLeapMonth 是否闰月
|
||||
* @param isLeapMonth 是否闰月
|
||||
* @param month 月份,从1开始
|
||||
* @param isTraditional 是否传统表示,例如一月传统表示为正月
|
||||
* @return 返回农历月份称呼
|
||||
|
@ -48,7 +48,8 @@ public class Console {
|
||||
* 同 System.out.println()方法,打印控制台日志<br>
|
||||
* 如果传入打印对象为{@link Throwable}对象,那么同时打印堆栈
|
||||
*
|
||||
* @param otherObjs 要打印的对象
|
||||
* @param obj1 第一个要打印的对象
|
||||
* @param otherObjs 其它要打印的对象
|
||||
* @since 5.4.3
|
||||
*/
|
||||
public static void log(Object obj1, Object... otherObjs) {
|
||||
@ -115,7 +116,8 @@ public class Console {
|
||||
* 同 System.out.println()方法,打印控制台日志<br>
|
||||
* 如果传入打印对象为{@link Throwable}对象,那么同时打印堆栈
|
||||
*
|
||||
* @param otherObjs 要打印的对象
|
||||
* @param obj1 第一个要打印的对象
|
||||
* @param otherObjs 其它要打印的对象
|
||||
* @since 5.4.3
|
||||
*/
|
||||
public static void print(Object obj1, Object... otherObjs) {
|
||||
@ -203,7 +205,8 @@ public class Console {
|
||||
* 同 System.out.println()方法,打印控制台日志<br>
|
||||
* 如果传入打印对象为{@link Throwable}对象,那么同时打印堆栈
|
||||
*
|
||||
* @param otherObjs 要打印的对象
|
||||
* @param obj1 第一个要打印的对象
|
||||
* @param otherObjs 其它要打印的对象
|
||||
* @since 5.4.3
|
||||
*/
|
||||
public static void error(Object obj1, Object... otherObjs) {
|
||||
|
Loading…
Reference in New Issue
Block a user