Class SetCodec<T>
- java.lang.Object
-
- com.grammatech.gtirb.auxdatacodec.SetCodec<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<T>
decode(java.io.InputStream in)
Decode a serialized instance into an in-memory object of type T.void
encode(java.io.OutputStream out, java.util.Set<T> set)
Encode an in-memory object into serialized form.java.lang.String
getTypeName()
Gets the portable name for the type used in protobuf.
-
-
-
Method Detail
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:Codec
Gets the portable name for the type used in protobuf.- Specified by:
getTypeName
in interfaceCodec<T>
- Returns:
- The name of the type.
-
decode
public java.util.Set<T> decode(java.io.InputStream in) throws java.io.IOException
Description copied from interface:Codec
Decode a serialized instance into an in-memory object of type T.
-
-