Package picard.sam.markduplicates.util
Class RepresentativeReadIndexerCodec
- java.lang.Object
-
- picard.sam.markduplicates.util.RepresentativeReadIndexerCodec
-
- All Implemented Interfaces:
htsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer>,Cloneable
public class RepresentativeReadIndexerCodec extends Object implements htsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer>
Codec for read names and integers that outputs the primitive fields and reads them back.
-
-
Field Summary
Fields Modifier and Type Field Description protected DataInputStreaminprotected DataOutputStreamout
-
Constructor Summary
Constructors Constructor Description RepresentativeReadIndexerCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description htsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer>clone()RepresentativeReadIndexerdecode()voidencode(RepresentativeReadIndexer rni)DataInputStreamgetInputStream()DataOutputStreamgetOutputStream()voidsetInputStream(InputStream is)voidsetOutputStream(OutputStream os)
-
-
-
Field Detail
-
in
protected DataInputStream in
-
out
protected DataOutputStream out
-
-
Method Detail
-
clone
public htsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer> clone()
- Specified by:
clonein interfacehtsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer>- Overrides:
clonein classObject
-
setOutputStream
public void setOutputStream(OutputStream os)
- Specified by:
setOutputStreamin interfacehtsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer>
-
setInputStream
public void setInputStream(InputStream is)
- Specified by:
setInputStreamin interfacehtsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer>
-
getInputStream
public DataInputStream getInputStream()
-
getOutputStream
public DataOutputStream getOutputStream()
-
encode
public void encode(RepresentativeReadIndexer rni)
- Specified by:
encodein interfacehtsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer>
-
decode
public RepresentativeReadIndexer decode()
- Specified by:
decodein interfacehtsjdk.samtools.util.SortingCollection.Codec<RepresentativeReadIndexer>
-
-