fiftyone.mobile.detection.entities
Class ProfileOffset

java.lang.Object
  extended by fiftyone.mobile.detection.entities.BaseEntity
      extended by fiftyone.mobile.detection.entities.ProfileOffset

public class ProfileOffset
extends BaseEntity

Maps a profile id to its position in the data file.


Field Summary
private  int offset
           
private  int profileId
           
 
Constructor Summary
ProfileOffset(Dataset dataSet, int offset, BinaryReader reader)
           
 
Method Summary
 int getOffset()
          The position within the data file that the profile can be read from.
 int getProfileId()
           
 
Methods inherited from class fiftyone.mobile.detection.entities.BaseEntity
binarySearch, getDataSet, getIndex, readIntegerArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

profileId

private int profileId

offset

private int offset
Constructor Detail

ProfileOffset

public ProfileOffset(Dataset dataSet,
                     int offset,
                     BinaryReader reader)
Method Detail

getProfileId

public int getProfileId()

getOffset

public int getOffset()
The position within the data file that the profile can be read from.

Returns:
offset of the profile Id in the profiles data structure