Files
redkale/com/wentch/redkale/convert/Decodeable.java
地平线 ac6a2e57c6
2015-09-22 17:34:27 +08:00

28 lines
524 B
Java

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.wentch.redkale.convert;
import java.lang.reflect.Type;
/**
*
* @author zhangjx
* @param <R>
* @param <T>
*/
public interface Decodeable<R extends Reader, T> {
public T convertFrom(final R in);
/**
* 泛型映射接口
*
* @return
*/
public Type getType();
}