|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.store.LongLongIndexElement
public class LongLongIndexElement
A single index element for a long-long index.
| Constructor Summary | |
|---|---|
LongLongIndexElement(long id,
long value)
Creates a new instance. |
|
LongLongIndexElement(StoreReader sr,
StoreClassRegister scr)
Creates a new instance. |
|
| Method Summary | |
|---|---|
long |
getId()
Returns the id of this index element. |
java.lang.Long |
getKey()
Returns the key associated with this element for the purposes of indexing. |
long |
getValue()
Returns the value of this index element. |
void |
store(StoreWriter writer,
StoreClassRegister storeClassRegister)
Stores all state to the specified store writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongLongIndexElement(long id,
long value)
id - The value identifier.value - The data value.
public LongLongIndexElement(StoreReader sr,
StoreClassRegister scr)
sr - The store to read state from.scr - Maintains the mapping between classes and their identifiers
within the store.| Method Detail |
|---|
public void store(StoreWriter writer,
StoreClassRegister storeClassRegister)
store in interface Storeablewriter - The writer that persists data to an underlying store.storeClassRegister - Maintains the mapping between classes and their identifiers
within the store.public java.lang.Long getKey()
getKey in interface IndexElement<java.lang.Long>public long getId()
public long getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||