修改javadoc

This commit is contained in:
彭宇琦 2021-02-02 08:33:41 +08:00
parent 856b68d0c9
commit 0b13d5cf49
8 changed files with 17 additions and 31 deletions

View File

@ -385,7 +385,6 @@ public class Functions {
* </ol>
* </p>
*
* @param splitText 分隔符必须按照正则表达式的形式传入
* @return {@link DataDriverFunction}类对象
*/
public static DataDriverFunction randomWord() {

View File

@ -21,25 +21,6 @@ import com.auxiliary.tool.data.TableData;
* </p>
* <p>
* 类中的所有方法均为重头遍历结果集与当前在结果集中光标的位置无关并且遍历后不影响当前光标的位置
* 以调用{@link #getFirstResult()}方法为例
* </p>
* <p>
* 查询的结果集中存在ID字段并且字段下有如下数据[1, 2, 3, 4, 5, 6, 7]对该字段循环获取5次 <code><pre>
* // run为SqlAction类对象
* ResultSet result = run.{@link #getResult()};
* for (int index = 0; index < 5 && result.next(), index++) {
* System.out.print(result.getString("ID"));
* }
*
* System.out.print(run.{@link #getFirstResult()});
*
* if (result.next()) {
* System.out.print(result.getString("ID"));
* }
* </pre></code> 其结果输出为<br>
* 12345<br>
* 1<br>
* 6<br>
* </p>
* <p>
* <b>编码时间</b>2020年12月7日上午8:12:04

View File

@ -331,7 +331,7 @@ public class EasyHttp implements Cloneable {
/**
* 用于设置请求头
* @param request 请求类对象
* @param requestBase 请求类对象
* @return 设置请求头的类对象
*/
public HttpRequestBase setHead(HttpRequestBase requestBase) {

View File

@ -1,6 +1,5 @@
package com.auxiliary.tool.data;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
@ -56,9 +55,8 @@ public class DisposeText {
/**
* 该方法用于对文本进行去重保留不重复的字符
*
* @param textFile 存储文本的文件
* @param text 待去重的文本
* @return 去重后的文本
* @throws IOException
*/
public static String textDelDuplication(String text) {
// 存储文件中的文本
@ -108,7 +106,7 @@ public class DisposeText {
/**
* 该方法用于对文本中单词进行去重输出不重复单词
*
* @param testFile 待测文件
* @param textList 待去重的词语集合
* @return 去重后的单词数组
*/
public static List<String> wordDelDuplication(List<String> textList) {

View File

@ -93,12 +93,12 @@ public class RandomString {
* <p>
* <b>注意</b>
* <ol>
* <li>若未设置则按照默认的{@link #DISPOSE_REPEAT}方式进行处理</li>
* <li>处理方式为{@link #DISPOSE_REPEAT}在处理后不影响{@link #setRepeat(boolean)}的设置</li>
* <li>若未设置则按照默认的{@link RepeatDisposeType#DISPOSE_REPEAT}方式进行处理</li>
* <li>处理方式为{@link RepeatDisposeType#DISPOSE_REPEAT}在处理后不影响{@link #setRepeat(boolean)}的设置</li>
* </ol>
* </p>
*
* @param dispose 处理方式{@link RepeatDisposeType}枚举
* @param repeatDisposeType 处理方式{@link RepeatDisposeType}枚举
*/
public void setDispose(RepeatDisposeType repeatDisposeType) {
this.dispose = repeatDisposeType;

View File

@ -55,6 +55,7 @@ public class InitTimeUtil {
* <b>注意</b>若日期未传入null则默认为当天的日期
* </p>
*
* @param isLastTime 是否指定为最后一刻
* @param date 指定的日期
* @return 更改的日期
*/
@ -73,6 +74,7 @@ public class InitTimeUtil {
* <b>注意</b>若日期未传入null则默认为当天的日期
* </p>
*
* @param date 指定的日期
* @return 更改的日期
*/
public static LocalDateTime firstDayOfMonth(LocalDateTime date) {
@ -93,6 +95,8 @@ public class InitTimeUtil {
* <b>注意</b>若日期未传入null则默认为当天的日期
* </p>
*
* @param isLastTime 是否指定为最后一刻
* @param date 指定的日期
* @return 更改的日期
*/
public static LocalDateTime lastDayOfMonth(boolean isLastTime, LocalDateTime date) {
@ -120,6 +124,7 @@ public class InitTimeUtil {
* <b>注意</b>若日期未传入null则默认为当天的日期
* </p>
*
* @param date 指定的日期
* @return 更改的日期
*/
public static LocalDateTime startTimeOfDay(LocalDateTime date) {
@ -136,6 +141,7 @@ public class InitTimeUtil {
* <b>注意</b>若日期未传入null则默认为当天的日期
* </p>
*
* @param date 指定的日期
* @return 更改的日期
*/
public static LocalDateTime lastTimeOfDay(LocalDateTime date) {
@ -157,6 +163,7 @@ public class InitTimeUtil {
* </p>
*
* @param hour 指定的小时数
* @param date 指定的日期
* @return 更改的日期
*/
public static LocalDateTime startHour(int hour, LocalDateTime date) {
@ -180,7 +187,8 @@ public class InitTimeUtil {
* </ol>
* </p>
*
* @param hour 指定的分钟数
* @param minute 指定的分钟数
* @param date 指定的日期
* @return 更改的日期
*/
public static LocalDateTime startMinute(int minute, LocalDateTime date) {

View File

@ -336,7 +336,7 @@ public class Time implements Comparable<Time> {
* </ul>
* 具体的计算规则与{@link #addTime(double, TimeUnit)}方法一致
* </p>
* @param regex 时间规则
* @param calculateTimeText 增减时间的规则
* @return 返回修改后的时间戳
*/
public Time addTime(String calculateTimeText) {

View File

@ -9,7 +9,7 @@ import java.time.temporal.ChronoUnit;
* </p>
* <p><b>编码时间</b>2021年1月20日上午7:54:09</p>
* <p><b>修改时间</b>2021年1月20日上午7:54:09</p>
* @author
* @author 彭宇琦
* @version Ver1.0
* @since JDK 1.8
*