fiftyone.mobile.detection.factories
Class RankedSignatureIndexFactory

java.lang.Object
  extended by fiftyone.mobile.detection.factories.BaseEntityFactory<RankedSignatureIndex>
      extended by fiftyone.mobile.detection.factories.RankedSignatureIndexFactory

public class RankedSignatureIndexFactory
extends BaseEntityFactory<RankedSignatureIndex>


Constructor Summary
RankedSignatureIndexFactory()
           
 
Method Summary
 RankedSignatureIndex create(Dataset dataSet, int index, BinaryReader reader)
          Creates a new instance of the ranked signature index from the source stream.
 int getLength()
           
 
Methods inherited from class fiftyone.mobile.detection.factories.BaseEntityFactory
getLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RankedSignatureIndexFactory

public RankedSignatureIndexFactory()
Method Detail

create

public RankedSignatureIndex create(Dataset dataSet,
                                   int index,
                                   BinaryReader reader)
Creates a new instance of the ranked signature index from the source stream.

Specified by:
create in class BaseEntityFactory<RankedSignatureIndex>
Parameters:
dataSet - the ranked signature index will relate to.
index - index of the ranked signature index.
reader - connected to the source stream.
Returns:
the ranked signature index pointing to the index of the signature.

getLength

public int getLength()
Overrides:
getLength in class BaseEntityFactory<RankedSignatureIndex>
Returns:
the length of a ranked signature index integer.