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.voidencode(java.io.OutputStream out, java.util.Set<T> set)Encode an in-memory object into serialized form.java.lang.StringgetTypeName()Gets the portable name for the type used in protobuf.
-
-
-
Method Detail
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:CodecGets the portable name for the type used in protobuf.- Specified by:
getTypeNamein 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:CodecDecode a serialized instance into an in-memory object of type T.
-
-