有关面试的测试代码等更新为新的包名,OSSEZ 域名我们修改为 iSharkFly
This commit is contained in:
parent
8fe953b495
commit
e4c068d924
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank;
|
||||
package com.isharkfly.toolkits.codebank;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.algorithm.objplusclass;
|
||||
package com.isharkfly.toolkits.codebank.algorithm.objplusclass;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.algorithm.overview;
|
||||
package com.isharkfly.toolkits.codebank.algorithm.overview;
|
||||
|
||||
/**
|
||||
* Java Tutorial
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.algorithm.overview;
|
||||
package com.isharkfly.toolkits.codebank.algorithm.overview;
|
||||
|
||||
/**
|
||||
* Java Tutorial
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.common.model;
|
||||
package com.isharkfly.toolkits.codebank.common.model;
|
||||
|
||||
/**
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.common.model;
|
||||
package com.isharkfly.toolkits.codebank.common.model;
|
||||
|
||||
/**
|
||||
*
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
||||
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.common.model.response;
|
||||
package com.isharkfly.toolkits.codebank.common.model.response;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.tests;
|
||||
package com.isharkfly.toolkits.codebank.tests;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.slf4j.Logger;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.tests.interview;
|
||||
package com.isharkfly.toolkits.codebank.tests.interview;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -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>
|
|
@ -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;
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.common.model.request;
|
||||
package com.isharkfly.toolkits.codebank.common.model.request;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.ossez.toolkits.codebank.common.model.response;
|
||||
package com.isharkfly.toolkits.codebank.common.model.response;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -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;
|
|
@ -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;
|
Loading…
Reference in New Issue