Skip to content

Commit

Permalink
feat: 修改 package
Browse files Browse the repository at this point in the history
  • Loading branch information
dunwu committed Jan 22, 2024
1 parent 9ef8de3 commit aad3a98
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion codes/java-distributed/java-load-balance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.github.dunwu.javatech</groupId>
<groupId>io.github.dunwu.distributed</groupId>
<artifactId>java-load-balance</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import cn.hutool.core.collection.CollectionUtil;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import cn.hutool.core.util.HashUtil;
import cn.hutool.core.util.StrUtil;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.util.List;
import java.util.Random;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.util.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.TreeMap;

/**
* 负载均衡算法测试例
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.util.List;
import java.util.Random;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

public class StatisticsUtil {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.util.List;
import java.util.Random;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;

import java.util.List;
import java.util.concurrent.ConcurrentHashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* @author <a href="mailto:[email protected]">Zhang Peng</a>
* @since 2020-01-22
*/
package io.github.dunwu.javatech;
package io.github.dunwu.distributed;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech.support;
package io.github.dunwu.distributed.support;

import java.nio.charset.StandardCharsets;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech.support;
package io.github.dunwu.distributed.support;

public class FnvHashStrategy implements HashStrategy {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech.support;
package io.github.dunwu.distributed.support;

public interface HashStrategy {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech.support;
package io.github.dunwu.distributed.support;

public class JdkHashCodeStrategy implements HashStrategy {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech.support;
package io.github.dunwu.distributed.support;

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.dunwu.javatech.support;
package io.github.dunwu.distributed.support;

import java.nio.ByteBuffer;
import java.nio.ByteOrder;
Expand Down
2 changes: 1 addition & 1 deletion codes/java-distributed/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.github.dunwu.javatech</groupId>
<groupId>io.github.dunwu.distributed</groupId>
<artifactId>java-distributed</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
Expand Down

0 comments on commit aad3a98

Please sign in to comment.