Package org.datavec.api.io.serializers
Interface Serialization<T>
-
public interface Serialization<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(Class<?> c)Allows clients to test whether thisSerializationsupports the given class.Deserializer<T>getDeserializer(Class<T> c)Serializer<T>getSerializer(Class<T> c)
-
-
-
Method Detail
-
accept
boolean accept(Class<?> c)
Allows clients to test whether thisSerializationsupports the given class.
-
getSerializer
Serializer<T> getSerializer(Class<T> c)
- Returns:
- a
Serializerfor the given class.
-
getDeserializer
Deserializer<T> getDeserializer(Class<T> c)
- Returns:
- a
Deserializerfor the given class.
-
-