public static class LisDataFormatSpecificationRecord.Entry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LisDataFormatSpecificationRecord.Entry.Type
Entry type.
|
Constructor and Description |
---|
Entry(LisDataFormatSpecificationRecord.Entry.Type type,
double value)
Create a new entry with the specified double value.
|
Entry(LisDataFormatSpecificationRecord.Entry.Type type,
int value)
Create a new entry with the specified integer value.
|
Entry(LisDataFormatSpecificationRecord.Entry.Type type,
int dataSize,
int representationCode,
List<Object> values)
Create a new entry.
|
Entry(LisDataFormatSpecificationRecord.Entry.Type type,
Object value)
Create a new entry with the specified value.
|
Entry(LisDataFormatSpecificationRecord.Entry.Type type,
String value)
Create a new entry with the specified string value.
|
Modifier and Type | Method and Description |
---|---|
int |
getDataSize()
Return size (in bytes) of this entry.
|
int |
getRepresentationCode()
Return presentation code of this entry.
|
int |
getSize()
Return total size (in bytes) of the datum as it appears on disk.
|
LisDataFormatSpecificationRecord.Entry.Type |
getType()
Return entry type.
|
Object |
getValue()
Return the first value of this entry.
|
List<Object> |
getValues()
Return the values of this entry.
|
String |
toString() |
public Entry(LisDataFormatSpecificationRecord.Entry.Type type, int dataSize, int representationCode, List<Object> values)
type
- Entry type. Non-null.dataSize
- Data size. <0,>.representationCode
- Data type.values
- Entry values. Non-null.IllegalArgumentException
- If type is null.IllegalArgumentException
- If dataSize <=0.IllegalArgumentException
- If representationCode is invalid.IllegalArgumentException
- If values is null.public Entry(LisDataFormatSpecificationRecord.Entry.Type type, Object value)
type
- Entry type. Non-null.value
- Entry value. Non-null.IllegalArgumentException
- If type or value is null.public Entry(LisDataFormatSpecificationRecord.Entry.Type type, double value)
type
- Entry type. Non-null.value
- Entry value.IllegalArgumentException
- If type is null.public Entry(LisDataFormatSpecificationRecord.Entry.Type type, int value)
type
- Entry type. Non-null.value
- Entry value.IllegalArgumentException
- If type is null.public Entry(LisDataFormatSpecificationRecord.Entry.Type type, String value)
type
- Entry type. Non-null.value
- Entry value.IllegalArgumentException
- If type is null.public LisDataFormatSpecificationRecord.Entry.Type getType()
public int getDataSize()
public int getSize()
public int getRepresentationCode()
public List<Object> getValues()
public Object getValue()
Copyright © 2024 Petroware AS - https://petroware.no