krati.core.array.entry
Class EntryValueLong
java.lang.Object
krati.core.array.entry.EntryValue
krati.core.array.entry.EntryValueLong
- All Implemented Interfaces:
- Comparable<EntryValue>
public class EntryValueLong
- extends EntryValue
EntryValueLong.
- Author:
- jwu
val
public long val
EntryValueLong
public EntryValueLong(int pos,
long val,
long scn)
reinit
public final void reinit(int pos,
long val,
long scn)
getValue
public final long getValue()
toString
public String toString()
- Overrides:
toString
in class EntryValue
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
write
public void write(DataWriter writer)
throws IOException
- Writes this EntryValue to entry log file via a data writer.
- Specified by:
write
in class EntryValue
- Parameters:
writer
-
- Throws:
IOException
updateArrayFile
public void updateArrayFile(DataWriter writer,
long position)
throws IOException
- Writes this EntryValue at a given position of a data writer.
- Specified by:
updateArrayFile
in class EntryValue
- Parameters:
writer
- position
-
- Throws:
IOException
Copyright © 2011. All Rights Reserved.