Skip to content

Instantly share code, notes, and snippets.

@minecrafter
Created September 30, 2012 04:44
Show Gist options
  • Save minecrafter/3805868 to your computer and use it in GitHub Desktop.
Save minecrafter/3805868 to your computer and use it in GitHub Desktop.
package com.tropicalwikis.tuxcraft.plugins.miningcash;
import java.io.Serializable;
public class SerializableDouble implements Serializable {
private static final long serialVersionUID = 504297962397622277L;
double s = 0.0;
public SerializableDouble(double d) {
s = d;
}
public double get() {
return s;
}
public void set(double d) {
s = d;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment