|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfiftyone.mobile.detection.headers.Header
public class Header
Every list contains a standard initial header. This class provides the basic properties needed to access lists irrespective of the storage implementation.
| Field Summary | |
|---|---|
private int |
count
The number of items contain in the collection. |
private int |
length
The number of bytes consumed by the data structure. |
private int |
startPosition
The position in the file where the data structure starts. |
| Constructor Summary | |
|---|---|
Header(BinaryReader reader)
Constructs a new instance of Header |
|
| Method Summary | |
|---|---|
int |
getCount()
|
int |
getLength()
|
int |
getStartPosition()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final int count
private final int startPosition
private final int length
| Constructor Detail |
|---|
public Header(BinaryReader reader)
reader - Reader connected to the source data structure and
positioned to start reading| Method Detail |
|---|
public int getCount()
public int getStartPosition()
public int getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||