Modifier and Type | Field and Description |
---|---|
protected ByteOrder |
byteOrder
The byte order.
|
protected String |
compression
The compression.
|
protected int |
id
The id.
|
protected DataMode |
mode
The mode.
|
protected PeakEncoding |
peakEncoding
The peak encoding.
|
protected int |
peakStructSize
The byte order.
|
Constructor and Description |
---|
DataEncoding(int id,
DataMode mode,
PeakEncoding peakEncoding,
String compression,
ByteOrder byteOrder)
Instantiates a new data encoding.
|
Modifier and Type | Method and Description |
---|---|
DataEncoding |
clone() |
ByteOrder |
getByteOrder()
Gets the byte order.
|
String |
getCompression()
Gets the compression.
|
int |
getId()
Gets the id.
|
DataMode |
getMode()
Gets the mode.
|
PeakEncoding |
getPeakEncoding()
Gets the peak encoding.
|
int |
getPeakStructSize() |
void |
setPeakEncoding(PeakEncoding p)
Sets the peak encoding.
|
protected final int id
protected final DataMode mode
protected PeakEncoding peakEncoding
protected final String compression
protected final ByteOrder byteOrder
protected final int peakStructSize
public DataEncoding(int id, DataMode mode, PeakEncoding peakEncoding, String compression, ByteOrder byteOrder)
id
- the idmode
- the modepeakEncoding
- the peak encodingcompression
- the compressionbyteOrder
- the byte orderpublic int getId()
public DataMode getMode()
public PeakEncoding getPeakEncoding()
public void setPeakEncoding(PeakEncoding p)
p
- the new peak encodingpublic String getCompression()
public ByteOrder getByteOrder()
public int getPeakStructSize()
public DataEncoding clone()
Copyright © 2019. All rights reserved.