This commit is contained in:
Redkale
2020-07-17 17:37:02 +08:00
parent 384a8a3991
commit 47315f188a

View File

@@ -5,6 +5,7 @@
*/ */
package org.redkale.service; package org.redkale.service;
import java.io.Serializable;
import java.lang.reflect.Type; import java.lang.reflect.Type;
import java.util.*; import java.util.*;
import java.util.concurrent.*; import java.util.concurrent.*;
@@ -26,7 +27,7 @@ import org.redkale.util.*;
* @author zhangjx * @author zhangjx
* @param <T> 结果对象的泛型 * @param <T> 结果对象的泛型
*/ */
public class RetResult<T> { public class RetResult<T> implements Serializable{
public static final Type TYPE_RET_INTEGER = new TypeToken<RetResult<Integer>>() { public static final Type TYPE_RET_INTEGER = new TypeToken<RetResult<Integer>>() {
}.getType(); }.getType();