commonClass
Marttin2
Be-Happy!
Be-Healthy!
Be-Strong!
展开
-
Person类
package com.xxxx.modules.common.web;public class Person { private String name; private int age; private int size; public Person(String name, int age, int size) { this.name ...原创 2019-03-10 17:01:55 · 1347 阅读 · 0 评论 -
Student类
package com.xxxx.modules.common.web;public class Student { private String name; private Integer score; public Student(String name, Integer score) { this.name = name; th...原创 2019-03-10 17:03:03 · 1603 阅读 · 0 评论 -
Cart类
package com.xxxx.modules.common.web;public class Cart { // 商品id private Integer id; // 商品所属分类 private Integer categoryId; // 数量 private Integer count; public Integer ...原创 2019-03-10 17:03:13 · 229 阅读 · 0 评论 -
listUtils
package com.xxxx.modules.common.web;import java.util.ArrayList;import java.util.List;/** * 使用到java8以下的版本,避免低版本的java不支持lambda表达式 */public class ListUtils { public static <T> List<...原创 2019-03-10 17:03:33 · 438 阅读 · 0 评论 -
listUtilsHook
package com.xxxx.modules.common.web;/** * 接口ListUtilsHook,它是ListUtils的函数钩子。 * 用来给ListUtils做函数钩子的接口。 * @param <T> */public interface ListUtilsHook<T> { public boolean test(T t)...原创 2019-03-10 17:03:46 · 121 阅读 · 0 评论 -
Boy类
package com.xxxx.modules.common.web;public class Boy { private String girlId; private String id; private String name; private String grilName; public String getGirlId() { ...原创 2019-03-10 17:03:55 · 203 阅读 · 0 评论 -
Girl类
package com.xxxx.modules.common.web;public class Girl { private String id; private String name; public String getId() { return id; } public void setId(String id) { ...原创 2019-03-10 17:04:04 · 239 阅读 · 0 评论 -
People类
package com.xxxx.modules.common.web;public class People { private String date; public People(String date) { this.date = date; } public String getDate() { return d...转载 2019-03-10 17:04:31 · 579 阅读 · 0 评论