Positions attached to documents are usually updated by position updaters. Because position updaters are freely definable and because of the frequency in which they are used, the fields of a position are made publicly accessible. Clients other than position updaters are not allowed to access these public fields.
Positions cannot be used as keys in hash tables as they override equals
and hashCode
as they would be value objects.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|