Skip to content

Instantly share code, notes, and snippets.

@priesdelly
Last active February 24, 2019 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save priesdelly/0c356073c7826f09bff9a116d16cfd03 to your computer and use it in GitHub Desktop.
Save priesdelly/0c356073c7826f09bff9a116d16cfd03 to your computer and use it in GitHub Desktop.
Model class for example test in java
class TestModel {
private static int value1;
private int value2;
public static int getValue1() {
return value1;
}
public static void setValue1(int value1) {
TestModel.value1 = value1;
}
public int getValue2() {
return value2;
}
public void setValue2(int value2) {
this.value2 = value2;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment