com.newpixelcoffee.odin.adapters.OdinInlineAdapter Maven / Gradle / Ivy
package com.newpixelcoffee.odin.adapters;
import com.newpixelcoffee.odin.ObjectType;
/**
* You can use this adapter to convert an object to another object, like Date to a String
* @param the type to convert
* @param the result type
*/
public interface OdinInlineAdapter extends OdinAdapter {
T read(ObjectType extends T> type, R o);
R write(ObjectType extends T> type, T o);
}