|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.clustering.dirichlet.JsonClusterModelAdapter
public class JsonClusterModelAdapter
Constructor Summary | |
---|---|
JsonClusterModelAdapter()
|
Method Summary | |
---|---|
Cluster |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context)
|
com.google.gson.JsonElement |
serialize(Cluster 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 JsonClusterModelAdapter()
Method Detail |
---|
public com.google.gson.JsonElement serialize(Cluster src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<Cluster>
public Cluster deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
deserialize
in interface com.google.gson.JsonDeserializer<Cluster>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |