public class Imagenex872Index
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Imagenex872Index() |
Modifier and Type | Method and Description |
---|---|
void |
addPing(java.lang.Long timestamp,
java.lang.Long position)
Adds a ping to the index
|
long |
getFirstTimestamp() |
long |
getLastTimestamp() |
long |
getPositionOfPing(java.lang.Long timestamp)
Get position of a ping in the 872 file.
|
public void addPing(java.lang.Long timestamp, java.lang.Long position)
timestamp
- Timestamp of the pingposition
- Starting position of the ping in the filepublic long getPositionOfPing(java.lang.Long timestamp)
timestamp
- The timestamp of the ping to searchpublic long getFirstTimestamp()
public long getLastTimestamp()
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.