diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyA.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyA.java new file mode 100644 index 0000000..ed9f82e --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyA.java @@ -0,0 +1,15 @@ +package com.woniu.celuejj.celue; + +public class ConcreteStrategyA implements Strategy { + + @Override + public String strategy() { + return StrategySelector.strategyA.getStrategy(); + } + + @Override + public void algorithm() { + System.out.println("process with strategyA..."); + } +} + diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyB.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyB.java new file mode 100644 index 0000000..1f27da9 --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyB.java @@ -0,0 +1,15 @@ +package com.woniu.celuejj.celue; + +public class ConcreteStrategyB implements Strategy { + + @Override + public String strategy() { + return StrategySelector.strategyB.getStrategy(); + } + + @Override + public void algorithm() { + System.out.println("process with strategyB..."); + } +} + diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyC.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyC.java new file mode 100644 index 0000000..0cbad5b --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyC.java @@ -0,0 +1,16 @@ +package com.woniu.celuejj.celue; + + +public class ConcreteStrategyC implements Strategy { + + @Override + public String strategy() { + return StrategySelector.strategyC.getStrategy(); + } + + @Override + public void algorithm() { + System.out.println("process with strategyC..."); + } +} + diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/Strategy.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/Strategy.java new file mode 100644 index 0000000..b6ddf75 --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/Strategy.java @@ -0,0 +1,14 @@ +package com.woniu.celuejj.celue; + + +public interface Strategy { + /** + * 采用策略 + */ + String strategy(); + + /** + * 计算方法逻辑 + */ + void algorithm(); +} diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategyRunner.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategyRunner.java new file mode 100644 index 0000000..123dd61 --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategyRunner.java @@ -0,0 +1,5 @@ +package com.woniu.celuejj.celue; + +public interface StrategyRunner { + void execute(String strategy); +} \ No newline at end of file diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategyRunnerImpl.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategyRunnerImpl.java new file mode 100644 index 0000000..6bc9121 --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategyRunnerImpl.java @@ -0,0 +1,23 @@ +package com.woniu.celuejj.celue; + + +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +public class StrategyRunnerImpl implements StrategyRunner { + + private static final List STRATEGIES = Arrays.asList(new ConcreteStrategyA(), new ConcreteStrategyB(), new ConcreteStrategyC()); + private static Map STRATEGY_MAP = new HashMap<>(); + + static { + STRATEGY_MAP = STRATEGIES.stream().collect(Collectors.toMap(Strategy::strategy, s -> s)); + } + + @Override + public void execute(String strategy) { + STRATEGY_MAP.get(strategy).algorithm(); + } +} diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategySelector.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategySelector.java new file mode 100644 index 0000000..1c51669 --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/StrategySelector.java @@ -0,0 +1,26 @@ +package com.woniu.celuejj.celue; + + +public enum StrategySelector { + + strategyA(1, "strategyA"), + strategyB(2, "strategyB"), + strategyC(3, "strategyC"); + + private Integer code; + private String strategy; + + public String getStrategy() { + return strategy; + } + + public Integer getCode() { + return code; + } + + StrategySelector(Integer code, String strategy) { + this.code = code; + this.strategy = strategy; + } +} + diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/TeT.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/TeT.java new file mode 100644 index 0000000..e85ce14 --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/celue/TeT.java @@ -0,0 +1,19 @@ +package com.woniu.celuejj.celue; + +/** + * 商场搞活动, + * 根据客户购买商品的金额, + * 收费时给与不同的打折, + * 比如, + * 购买 金额>=2000 的打八折(0.8), + * 金额 500 ~ 1000 的,打九折(0.9), + * 购买金额 0 ~ 500 的九五折(0.95), + * 根据不同的金额走不同计算策略逻辑。 + */ +public class TeT { + + public static void main(String[] args) { + + + } +} diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/DefaultHashMap.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/DefaultHashMap.java new file mode 100644 index 0000000..6e79ec6 --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/DefaultHashMap.java @@ -0,0 +1,19 @@ +package com.woniu.celuejj.factory; + +import java.util.HashMap; +import java.util.function.Function; +import java.util.function.Supplier; + +public class DefaultHashMap extends HashMap { + Function function; + + public DefaultHashMap(Supplier supplier) { + this.function = k -> supplier.get(); + } + + @Override + @SuppressWarnings("unchecked") + public V get(Object key) { + return super.computeIfAbsent((K) key, this.function); + } +} diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/Test.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/Test.java new file mode 100644 index 0000000..582046f --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/Test.java @@ -0,0 +1,74 @@ +package com.woniu.celuejj.factory; + +import java.util.*; +import java.util.stream.Collectors; +//Java8中方便又实用的Map函数 +public class Test { + + static List users = Arrays.asList( + new User(1, 23), + new User(2, 25), + new User(3, 45), + new User(1, 49)); + + public static void main(String[] args) { + + Map> userMap = new HashMap<>(); + for (User user : users) { + if (!userMap.containsKey(user.getPayType())) { + userMap.put(user.getPayType(), new ArrayList<>()); + } + userMap.get(user.getPayType()).add(user); + } + System.out.println(userMap); + + + + + + + + + + + + + + + Map> collectMap = users. + stream(). + collect(Collectors.groupingBy(item -> item.getPayType())); + System.out.println(collectMap); + + + + + + + + + + Map> userMapNew = new HashMap<>(); + for (User user : users) { + userMapNew.computeIfAbsent(user.getPayType(), k -> new ArrayList<>()). + add(user); + } + + + + + + + + List userNews = users; + Map> userTypeMap = new DefaultHashMap<>(ArrayList::new); + for (User userNew : userNews) { + userTypeMap.get(userNew.getPayType()) + .add(userNew); + } + + + + } + +} diff --git a/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/User.java b/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/User.java new file mode 100644 index 0000000..8a32530 --- /dev/null +++ b/celuemoshijingjian/src/main/java/com/woniu/celuejj/factory/User.java @@ -0,0 +1,11 @@ +package com.woniu.celuejj.factory; + +import lombok.AllArgsConstructor; +import lombok.Data; + +@Data +@AllArgsConstructor +public class User { + private Integer payType; + private Integer age; +} diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyA.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyA.class new file mode 100644 index 0000000..3b85048 Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyA.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyB.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyB.class new file mode 100644 index 0000000..1247125 Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyB.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyC.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyC.class new file mode 100644 index 0000000..db26277 Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/ConcreteStrategyC.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/Strategy.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/Strategy.class new file mode 100644 index 0000000..d6ec34d Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/Strategy.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategyRunner.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategyRunner.class new file mode 100644 index 0000000..7e4b68e Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategyRunner.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategyRunnerImpl.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategyRunnerImpl.class new file mode 100644 index 0000000..90cb6f7 Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategyRunnerImpl.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategySelector.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategySelector.class new file mode 100644 index 0000000..f04e477 Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/StrategySelector.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/TeT.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/TeT.class new file mode 100644 index 0000000..b7f5650 Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/celue/TeT.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/factory/Test.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/factory/Test.class new file mode 100644 index 0000000..dd3cd2b Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/factory/Test.class differ diff --git a/celuemoshijingjian/target/classes/com/woniu/celuejj/factory/User.class b/celuemoshijingjian/target/classes/com/woniu/celuejj/factory/User.class new file mode 100644 index 0000000..ca9c0cd Binary files /dev/null and b/celuemoshijingjian/target/classes/com/woniu/celuejj/factory/User.class differ diff --git a/usemap/.idea/.gitignore b/usemap/.idea/.gitignore new file mode 100644 index 0000000..b03b3fc --- /dev/null +++ b/usemap/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/../../../../:\java project\celuemoshijingjian\.idea/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/usemap/.idea/compiler.xml b/usemap/.idea/compiler.xml new file mode 100644 index 0000000..5ab7bf8 --- /dev/null +++ b/usemap/.idea/compiler.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/usemap/.idea/jarRepositories.xml b/usemap/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/usemap/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/usemap/.idea/misc.xml b/usemap/.idea/misc.xml new file mode 100644 index 0000000..4b661a5 --- /dev/null +++ b/usemap/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/usemap/celuemoshijingjian.iml b/usemap/celuemoshijingjian.iml new file mode 100644 index 0000000..78b2cc5 --- /dev/null +++ b/usemap/celuemoshijingjian.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/usemap/pom.xml b/usemap/pom.xml new file mode 100644 index 0000000..af87166 --- /dev/null +++ b/usemap/pom.xml @@ -0,0 +1,21 @@ + + + 4.0.0 + + com.woniu + celuemoshijingjian + 1.0-SNAPSHOT + + + + + org.projectlombok + lombok + 1.18.24 + + + + + \ No newline at end of file diff --git a/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyA.java b/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyA.java new file mode 100644 index 0000000..ed9f82e --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyA.java @@ -0,0 +1,15 @@ +package com.woniu.celuejj.celue; + +public class ConcreteStrategyA implements Strategy { + + @Override + public String strategy() { + return StrategySelector.strategyA.getStrategy(); + } + + @Override + public void algorithm() { + System.out.println("process with strategyA..."); + } +} + diff --git a/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyB.java b/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyB.java new file mode 100644 index 0000000..1f27da9 --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyB.java @@ -0,0 +1,15 @@ +package com.woniu.celuejj.celue; + +public class ConcreteStrategyB implements Strategy { + + @Override + public String strategy() { + return StrategySelector.strategyB.getStrategy(); + } + + @Override + public void algorithm() { + System.out.println("process with strategyB..."); + } +} + diff --git a/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyC.java b/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyC.java new file mode 100644 index 0000000..0cbad5b --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/celue/ConcreteStrategyC.java @@ -0,0 +1,16 @@ +package com.woniu.celuejj.celue; + + +public class ConcreteStrategyC implements Strategy { + + @Override + public String strategy() { + return StrategySelector.strategyC.getStrategy(); + } + + @Override + public void algorithm() { + System.out.println("process with strategyC..."); + } +} + diff --git a/usemap/src/main/java/com/woniu/celuejj/celue/Strategy.java b/usemap/src/main/java/com/woniu/celuejj/celue/Strategy.java new file mode 100644 index 0000000..b6ddf75 --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/celue/Strategy.java @@ -0,0 +1,14 @@ +package com.woniu.celuejj.celue; + + +public interface Strategy { + /** + * 采用策略 + */ + String strategy(); + + /** + * 计算方法逻辑 + */ + void algorithm(); +} diff --git a/usemap/src/main/java/com/woniu/celuejj/celue/StrategyRunner.java b/usemap/src/main/java/com/woniu/celuejj/celue/StrategyRunner.java new file mode 100644 index 0000000..123dd61 --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/celue/StrategyRunner.java @@ -0,0 +1,5 @@ +package com.woniu.celuejj.celue; + +public interface StrategyRunner { + void execute(String strategy); +} \ No newline at end of file diff --git a/usemap/src/main/java/com/woniu/celuejj/celue/StrategyRunnerImpl.java b/usemap/src/main/java/com/woniu/celuejj/celue/StrategyRunnerImpl.java new file mode 100644 index 0000000..6bc9121 --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/celue/StrategyRunnerImpl.java @@ -0,0 +1,23 @@ +package com.woniu.celuejj.celue; + + +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +public class StrategyRunnerImpl implements StrategyRunner { + + private static final List STRATEGIES = Arrays.asList(new ConcreteStrategyA(), new ConcreteStrategyB(), new ConcreteStrategyC()); + private static Map STRATEGY_MAP = new HashMap<>(); + + static { + STRATEGY_MAP = STRATEGIES.stream().collect(Collectors.toMap(Strategy::strategy, s -> s)); + } + + @Override + public void execute(String strategy) { + STRATEGY_MAP.get(strategy).algorithm(); + } +} diff --git a/usemap/src/main/java/com/woniu/celuejj/celue/StrategySelector.java b/usemap/src/main/java/com/woniu/celuejj/celue/StrategySelector.java new file mode 100644 index 0000000..1c51669 --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/celue/StrategySelector.java @@ -0,0 +1,26 @@ +package com.woniu.celuejj.celue; + + +public enum StrategySelector { + + strategyA(1, "strategyA"), + strategyB(2, "strategyB"), + strategyC(3, "strategyC"); + + private Integer code; + private String strategy; + + public String getStrategy() { + return strategy; + } + + public Integer getCode() { + return code; + } + + StrategySelector(Integer code, String strategy) { + this.code = code; + this.strategy = strategy; + } +} + diff --git a/usemap/src/main/java/com/woniu/celuejj/celue/TeT.java b/usemap/src/main/java/com/woniu/celuejj/celue/TeT.java new file mode 100644 index 0000000..e85ce14 --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/celue/TeT.java @@ -0,0 +1,19 @@ +package com.woniu.celuejj.celue; + +/** + * 商场搞活动, + * 根据客户购买商品的金额, + * 收费时给与不同的打折, + * 比如, + * 购买 金额>=2000 的打八折(0.8), + * 金额 500 ~ 1000 的,打九折(0.9), + * 购买金额 0 ~ 500 的九五折(0.95), + * 根据不同的金额走不同计算策略逻辑。 + */ +public class TeT { + + public static void main(String[] args) { + + + } +} diff --git a/usemap/src/main/java/com/woniu/celuejj/factory/DefaultHashMap.java b/usemap/src/main/java/com/woniu/celuejj/factory/DefaultHashMap.java new file mode 100644 index 0000000..6e79ec6 --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/factory/DefaultHashMap.java @@ -0,0 +1,19 @@ +package com.woniu.celuejj.factory; + +import java.util.HashMap; +import java.util.function.Function; +import java.util.function.Supplier; + +public class DefaultHashMap extends HashMap { + Function function; + + public DefaultHashMap(Supplier supplier) { + this.function = k -> supplier.get(); + } + + @Override + @SuppressWarnings("unchecked") + public V get(Object key) { + return super.computeIfAbsent((K) key, this.function); + } +} diff --git a/usemap/src/main/java/com/woniu/celuejj/factory/Test.java b/usemap/src/main/java/com/woniu/celuejj/factory/Test.java new file mode 100644 index 0000000..582046f --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/factory/Test.java @@ -0,0 +1,74 @@ +package com.woniu.celuejj.factory; + +import java.util.*; +import java.util.stream.Collectors; +//Java8中方便又实用的Map函数 +public class Test { + + static List users = Arrays.asList( + new User(1, 23), + new User(2, 25), + new User(3, 45), + new User(1, 49)); + + public static void main(String[] args) { + + Map> userMap = new HashMap<>(); + for (User user : users) { + if (!userMap.containsKey(user.getPayType())) { + userMap.put(user.getPayType(), new ArrayList<>()); + } + userMap.get(user.getPayType()).add(user); + } + System.out.println(userMap); + + + + + + + + + + + + + + + Map> collectMap = users. + stream(). + collect(Collectors.groupingBy(item -> item.getPayType())); + System.out.println(collectMap); + + + + + + + + + + Map> userMapNew = new HashMap<>(); + for (User user : users) { + userMapNew.computeIfAbsent(user.getPayType(), k -> new ArrayList<>()). + add(user); + } + + + + + + + + List userNews = users; + Map> userTypeMap = new DefaultHashMap<>(ArrayList::new); + for (User userNew : userNews) { + userTypeMap.get(userNew.getPayType()) + .add(userNew); + } + + + + } + +} diff --git a/usemap/src/main/java/com/woniu/celuejj/factory/User.java b/usemap/src/main/java/com/woniu/celuejj/factory/User.java new file mode 100644 index 0000000..8a32530 --- /dev/null +++ b/usemap/src/main/java/com/woniu/celuejj/factory/User.java @@ -0,0 +1,11 @@ +package com.woniu.celuejj.factory; + +import lombok.AllArgsConstructor; +import lombok.Data; + +@Data +@AllArgsConstructor +public class User { + private Integer payType; + private Integer age; +} diff --git a/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyA.class b/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyA.class new file mode 100644 index 0000000..3b85048 Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyA.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyB.class b/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyB.class new file mode 100644 index 0000000..1247125 Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyB.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyC.class b/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyC.class new file mode 100644 index 0000000..db26277 Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/celue/ConcreteStrategyC.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/celue/Strategy.class b/usemap/target/classes/com/woniu/celuejj/celue/Strategy.class new file mode 100644 index 0000000..d6ec34d Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/celue/Strategy.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/celue/StrategyRunner.class b/usemap/target/classes/com/woniu/celuejj/celue/StrategyRunner.class new file mode 100644 index 0000000..7e4b68e Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/celue/StrategyRunner.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/celue/StrategyRunnerImpl.class b/usemap/target/classes/com/woniu/celuejj/celue/StrategyRunnerImpl.class new file mode 100644 index 0000000..90cb6f7 Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/celue/StrategyRunnerImpl.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/celue/StrategySelector.class b/usemap/target/classes/com/woniu/celuejj/celue/StrategySelector.class new file mode 100644 index 0000000..f04e477 Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/celue/StrategySelector.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/celue/TeT.class b/usemap/target/classes/com/woniu/celuejj/celue/TeT.class new file mode 100644 index 0000000..b7f5650 Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/celue/TeT.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/factory/Test.class b/usemap/target/classes/com/woniu/celuejj/factory/Test.class new file mode 100644 index 0000000..dd3cd2b Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/factory/Test.class differ diff --git a/usemap/target/classes/com/woniu/celuejj/factory/User.class b/usemap/target/classes/com/woniu/celuejj/factory/User.class new file mode 100644 index 0000000..ca9c0cd Binary files /dev/null and b/usemap/target/classes/com/woniu/celuejj/factory/User.class differ