This commit is contained in:
Looly 2020-09-18 15:31:26 +08:00
parent c205e7383d
commit 836d43a60e
4 changed files with 14 additions and 5 deletions

View File

@ -2842,6 +2842,8 @@ public class CollUtil {
*
* @param <F> 源元素类型
* @param <T> 目标元素类型
* @param collection 集合
* @param function 转换函数
* @return 新类型的集合
* @since 5.4.3
*/

View File

@ -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) {

View File

@ -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 返回农历月份称呼

View File

@ -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) {