com.ahyakamil.AKCache.service.ForceObjToSerialize Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of akcache Show documentation
Show all versions of akcache Show documentation
Simple and powerful caching
package com.ahyakamil.AKCache.service;
import java.io.Serializable;
class ForceObjToSerialize extends ObjNotSerialize implements Serializable {
private static final long serialVersionUID = 11111L;
public ForceObjToSerialize(T valueObj) {
super(valueObj);
}
public ForceObjToSerialize() {
}
@Override
public T getValueObj() {
return super.getValueObj();
}
}
class ObjNotSerialize {
public T getValueObj() {
return valueObj;
}
T valueObj;
public ObjNotSerialize(T valueObj) {
this.valueObj = valueObj;
}
public ObjNotSerialize() {
}
}