org.egothor.dir
Class GlobalPositionsArray
java.lang.Object
org.egothor.util.io.Array
org.egothor.dir.GlobalPositionsArray
- All Implemented Interfaces:
- GlobalPositions
public class GlobalPositionsArray
- extends Array
- implements GlobalPositions
GlobalPositions.java
Created on 4. srpen 2006, 0:10
- Author:
- galambos
Fields inherited from class org.egothor.util.io.Array |
size |
Constructor Summary |
GlobalPositionsArray(java.lang.String filename)
Creates a new instance of GlobalPositions |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalPositionsArray
public GlobalPositionsArray(java.lang.String filename)
- Creates a new instance of GlobalPositions
find
public GlobalPositionWithTS find(long gid)
throws java.io.IOException
- Specified by:
find
in interface GlobalPositions
- Throws:
java.io.IOException
save
public void save(int recordsx4,
long[] record4)
throws java.io.IOException
- Specified by:
save
in interface GlobalPositions
- Throws:
java.io.IOException
save
public void save(long gid,
int slot,
long lid,
long localTS)
throws java.io.IOException
- Specified by:
save
in interface GlobalPositions
- Throws:
java.io.IOException
flush
public void flush()
- Specified by:
flush
in interface GlobalPositions