Skip to content

Commit

Permalink
add missing Java docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Kruse committed Sep 6, 2016
1 parent 02a0ab0 commit e1a21c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
package de.hpi.isg.profiledb.store.json;

import com.google.gson.*;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import de.hpi.isg.profiledb.store.model.Measurement;

import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Map;

/**
* TODO
* Custom deserializer for {@link Measurement}s that detects the actual subclass of the serialized instances and
* then delegates the deserialization to that subtype.
*/
public class MeasurementDeserializer implements JsonDeserializer<Measurement> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
package de.hpi.isg.profiledb.store.json;

import com.google.gson.*;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
import de.hpi.isg.profiledb.store.model.Measurement;

import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Map;

/**
* TODO
* Custom serializer for {@link Measurement}s that detects the actual subclass of given instances, encodes this
* class memebership, and then delegates serialization to that subtype.
*/
public class MeasurementSerializer implements JsonSerializer<Measurement> {

Expand Down

0 comments on commit e1a21c4

Please sign in to comment.