public class SignatureV31 extends Signature
Signature to provide implementation for the abstract methods.
Objects of this class should not be created directly as they are part of the
internal logic. Use the relevant Dataset method to access these
objects.
For more information see: 51Degrees pattern data model.
Signature.ValueIterator| Modifier and Type | Field and Description |
|---|---|
protected Integer |
rank |
dataSet, index| Constructor and Description |
|---|
SignatureV31(Dataset ds,
int index,
BinaryReader reader)
Constructs a new instance of SignatureV31.
|
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
getNodeOffsets()
Returns List of the node offsets the signature relates to ordered by
offset of the node.
|
int |
getRank()
Gets the rank, where a lower number means the signature is more popular,
of the signature compared to other signatures.
|
protected int |
getSignatureLength()
The number of characters in the signature.
|
compareTo, compareTo, doGetNodes, getDeviceId, getLength, getNodes, getProfiles, getPropertyValuesAsStrings, getValues, getValues, getValues, init, readPositiveAndZeroIntegers, toStringcompareTo, compareTo, getDataSet, getIndex, getIsNumeric, getNumber, readIntegerArray, readIntegerListprotected volatile Integer rank
public SignatureV31(Dataset ds, int index, BinaryReader reader)
ds - the Dataset the signature is contained within.index - The index in the data structure to the signature.reader - Reader connected to the source data structure and
positioned to start reading.public int getRank()
throws IOException
getRank in class SignatureIOException - if there was a problem accessing data file.public List<Integer> getNodeOffsets()
getNodeOffsets in class Signatureprotected int getSignatureLength()
throws IOException
getSignatureLength in class SignatureIOException - if there was a problem accessing data file.Copyright © 2017 51Degrees. All rights reserved.