|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.presentation.stream.DataReader.Locator
public class DataReader.Locator
The location representation class.
Provides the coordinates of location in incoming data stream. The specific data reader implementation may extends this for more detail on location coordinates. The defualt provides only absolute offset.
Field Summary | |
---|---|
protected static int |
HASH_PRIME
Prime hash code basis. |
Constructor Summary | |
---|---|
DataReader.Locator(int offset)
Constructor with absolute offset. |
Method Summary | |
---|---|
Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
int |
getOffset()
Returns the absolute offset. |
int |
hashCode()
Returns a hash code value for this instance. |
protected void |
reset()
|
String |
toString()
Returns a string representation of this instance. |
protected void |
update(int pos)
Updates location coordinates on specified position delta. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final int HASH_PRIME
Constructor Detail |
---|
public DataReader.Locator(int offset)
offset
- The absolute offset within incoming data.Method Detail |
---|
public final int getOffset()
public Object clone()
clone
in class Object
Cloneable
public int hashCode()
hashCode
in class Object
equals(Object)
,
Hashtable
public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
hashCode()
,
Hashtable
public String toString()
toString
in class Object
protected void update(int pos)
pos
- The delta between carrent and past location.protected void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |