Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
public int __id = -1;
public int __getId() {
    return __id;
}
public void __setId(int id) {
    this.__id= id;
}
public String getRecordStoreName() {
    return "FloggyDate-1975828093";
}
public void __deserialize(byte[] buffer, boolean lazy) throws java.lang.Exception {
    java.io.DataInputStream dis = new java.io.DataInputStream(new java.io.ByteArrayInputStream(buffer));
    this.x= net.sourceforge.floggy.persistence.impl.SerializationHelper.readDate(dis);
    dis.close();
}
public byte[] __serialize() throws java.lang.Exception {
    net.sourceforge.floggy.persistence.impl.FloggyOutputStream fos= new net.sourceforge.floggy.persistence.impl.FloggyOutputStream();
    net.sourceforge.floggy.persistence.impl.SerializationHelper.writeDate(fos, x);
    fos.flush();
    return fos.toByteArray();
}
public void __delete() throws java.lang.Exception {
}
New to GrepCode? Check out our FAQ X