|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.clustering.JsonModelDistributionAdapter
public class JsonModelDistributionAdapter
Constructor Summary | |
---|---|
JsonModelDistributionAdapter()
|
Method Summary | |
---|---|
ModelDistribution<?> |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context)
|
com.google.gson.JsonElement |
serialize(ModelDistribution<?> src,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonModelDistributionAdapter()
Method Detail |
---|
public com.google.gson.JsonElement serialize(ModelDistribution<?> src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<ModelDistribution<?>>
public ModelDistribution<?> deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
deserialize
in interface com.google.gson.JsonDeserializer<ModelDistribution<?>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |