有关面试的测试代码等更新为新的包名,OSSEZ 域名我们修改为 iSharkFly

This commit is contained in:
YuCheng Hu 2024-01-30 09:07:20 -05:00
parent 8fe953b495
commit e4c068d924
No known key found for this signature in database
GPG Key ID: 942395299055675C
51 changed files with 65 additions and 71 deletions

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank;
package com.isharkfly.toolkits.codebank;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.algorithm.objplusclass;
package com.isharkfly.toolkits.codebank.algorithm.objplusclass;
/**
*

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.algorithm.overview;
package com.isharkfly.toolkits.codebank.algorithm.overview;
/**
* Java Tutorial

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.algorithm.overview;
package com.isharkfly.toolkits.codebank.algorithm.overview;
/**
* Java Tutorial

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.interview;
package com.isharkfly.toolkits.codebank.common.interview;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.interview;
package com.isharkfly.toolkits.codebank.common.interview;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.interview;
package com.isharkfly.toolkits.codebank.common.interview;
import java.io.BufferedReader;
import java.io.InputStreamReader;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model;
package com.isharkfly.toolkits.codebank.common.model;
/**
*

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model;
package com.isharkfly.toolkits.codebank.common.model;
/**
*

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.entity;
package com.isharkfly.toolkits.codebank.common.model.entity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.entity;
package com.isharkfly.toolkits.codebank.common.model.entity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,10 +1,9 @@
package com.ossez.toolkits.codebank.common.model.request;
package com.isharkfly.toolkits.codebank.common.model.request;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import java.io.Serializable;
import java.util.Objects;
/**

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.response;
package com.isharkfly.toolkits.codebank.common.model.response;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.response;
package com.isharkfly.toolkits.codebank.common.model.response;
import java.io.Serializable;
import java.util.Date;

View File

@ -1,4 +1,4 @@
package com.ossez.lang.tutorial.usecases;
package com.isharkfly.toolkits.codebank.common.usecase;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,6 +1,6 @@
package com.ossez.toolkits.codebank.common.utils;
package com.isharkfly.toolkits.codebank.common.utils;
import com.ossez.toolkits.codebank.common.model.TreeNode;
import com.isharkfly.toolkits.codebank.common.model.TreeNode;
import java.util.ArrayList;

View File

@ -1,6 +1,5 @@
package com.ossez.toolkits.codebank.tests;
package com.isharkfly.toolkits.codebank.tests;
import junit.framework.TestCase;
import org.junit.Test;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests;
package com.isharkfly.toolkits.codebank.tests;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests;
package com.isharkfly.toolkits.codebank.tests;
import java.util.ArrayList;
import java.util.Arrays;
@ -7,7 +7,7 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.ossez.toolkits.codebank.common.model.ListNode;
import com.isharkfly.toolkits.codebank.common.model.ListNode;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests;
package com.isharkfly.toolkits.codebank.tests;
import org.junit.Test;
import org.slf4j.Logger;

View File

@ -1,10 +1,10 @@
package com.ossez.toolkits.codebank.tests;
package com.isharkfly.toolkits.codebank.tests;
import java.util.ArrayList;
import java.util.List;
import com.ossez.toolkits.codebank.common.model.TreeNode;
import com.ossez.toolkits.codebank.common.utils.TreeUtils;
import com.isharkfly.toolkits.codebank.common.model.TreeNode;
import com.isharkfly.toolkits.codebank.common.utils.TreeUtils;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package com.ossez.lang.tutorial.tests;
package com.isharkfly.toolkits.codebank.tests;
import org.junit.Test;
import org.junit.jupiter.api.AfterAll;

View File

@ -1,11 +1,10 @@
package com.ossez.toolkits.codebank.tests.algorithm;
package com.isharkfly.toolkits.codebank.tests.algorithm;
import junit.framework.TestCase;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Array;
import java.util.*;
import java.util.stream.Collectors;

View File

@ -1,6 +1,5 @@
package com.ossez.toolkits.codebank.tests.algorithm;
package com.isharkfly.toolkits.codebank.tests.algorithm;
import org.apache.commons.lang3.math.NumberUtils;
import org.apache.commons.math3.primes.Primes;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.algorithm;
package com.isharkfly.toolkits.codebank.tests.algorithm;
import org.junit.Test;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.algorithm;
package com.isharkfly.toolkits.codebank.tests.algorithm;
import org.apache.commons.lang3.StringUtils;
import org.junit.jupiter.api.Test;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.codility;
package com.isharkfly.toolkits.codebank.tests.codility;
import org.junit.Test;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,6 +1,6 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import com.ossez.toolkits.codebank.common.model.request.TopicRequest;
import com.isharkfly.toolkits.codebank.common.model.request.TopicRequest;
import org.apache.commons.lang3.StringUtils;
import org.junit.Test;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import static org.junit.Assert.assertEquals;
@ -7,8 +7,8 @@ import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ossez.toolkits.codebank.common.interview.KayakCountUpDown;
import com.ossez.toolkits.codebank.common.interview.KayakRobotMovement;
import com.isharkfly.toolkits.codebank.common.interview.KayakCountUpDown;
import com.isharkfly.toolkits.codebank.common.interview.KayakRobotMovement;
/**
*

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import org.junit.Test;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import java.io.File;
import java.nio.charset.StandardCharsets;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import org.junit.Test;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import java.util.HashMap;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.interview;
package com.isharkfly.toolkits.codebank.tests.interview;
import java.math.BigDecimal;
import java.util.ArrayList;

View File

@ -1,11 +1,9 @@
package com.ossez.toolkits.codebank.tests.leetcode;
package com.isharkfly.toolkits.codebank.tests.leetcode;
import com.ossez.toolkits.codebank.common.model.TreeNode;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.Locale;
import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.tests.lintcode;
package com.isharkfly.toolkits.codebank.tests.lintcode;
import java.util.ArrayList;
@ -6,7 +6,7 @@ import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ossez.toolkits.codebank.common.model.TreeNode;
import com.isharkfly.toolkits.codebank.common.model.TreeNode;
/**
* <p>

View File

@ -1,6 +1,6 @@
package com.ossez.toolkits.codebank.tests.lintcode;
package com.isharkfly.toolkits.codebank.tests.lintcode;
import com.ossez.toolkits.codebank.tests.EmptyQuickTest;
import com.isharkfly.toolkits.codebank.tests.EmptyQuickTest;
import org.apache.commons.math3.util.FastMath;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.ossez.lang.tutorial.tests.lintcode;
package com.isharkfly.toolkits.codebank.tests.lintcode;
import java.util.ArrayList;
import java.util.LinkedList;
@ -9,7 +9,7 @@ import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ossez.toolkits.codebank.common.model.TreeNode;
import com.isharkfly.toolkits.codebank.common.model.TreeNode;
/**
* <p>

View File

@ -1,10 +1,10 @@
package com.ossez.lang.tutorial.tests.lintcode;
package com.isharkfly.toolkits.codebank.tests.lintcode;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ossez.toolkits.codebank.common.model.ListNode;
import com.isharkfly.toolkits.codebank.common.model.ListNode;
/**
* <p>

View File

@ -1,10 +1,10 @@
package com.ossez.lang.tutorial.tests.lintcode;
package com.isharkfly.toolkits.codebank.tests.lintcode;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ossez.toolkits.codebank.common.model.ListNode;
import com.isharkfly.toolkits.codebank.common.model.ListNode;
/**
* <p>

View File

@ -1,4 +1,4 @@
package com.ossez.lang.tutorial.tests.lintcode;
package com.isharkfly.toolkits.codebank.tests.lintcode;
import java.util.ArrayList;
import java.util.HashMap;

View File

@ -1,4 +1,4 @@
package com.ossez.lang.tutorial.tests.lintcode;
package com.isharkfly.toolkits.codebank.tests.lintcode;
import org.junit.Test;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.ossez.lang.tutorial.tests.lintcode;
package com.isharkfly.toolkits.codebank.tests.lintcode;
import org.junit.Test;
import org.slf4j.Logger;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.entity;
package com.isharkfly.toolkits.codebank.common.model.entity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.entity;
package com.isharkfly.toolkits.codebank.common.model.entity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.request;
package com.isharkfly.toolkits.codebank.common.model.request;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.response;
package com.isharkfly.toolkits.codebank.common.model.response;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package com.ossez.toolkits.codebank.common.model.response;
package com.isharkfly.toolkits.codebank.common.model.response;
import java.io.Serializable;
import java.util.Date;

View File

@ -1,8 +1,8 @@
package com.ossez.toolkits.codebank.tests;
package com.isharkfly.toolkits.codebank.tests;
import com.google.gson.Gson;
import com.ossez.toolkits.codebank.common.model.entity.BBSOssezForumPost;
import com.ossez.toolkits.codebank.common.model.request.TopicRequest;
import com.isharkfly.toolkits.codebank.common.model.entity.BBSOssezForumPost;
import com.isharkfly.toolkits.codebank.common.model.request.TopicRequest;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;