61 lines
757 B
Java
61 lines
757 B
Java
package fields;
|
|
|
|
public class AddB002 {
|
|
|
|
short s;
|
|
boolean b;
|
|
long l;
|
|
double d;
|
|
float f;
|
|
char c;
|
|
|
|
public short getShort() {
|
|
return s;
|
|
}
|
|
|
|
public void setShort(short newvalue) {
|
|
this.s = newvalue;
|
|
}
|
|
|
|
public boolean getBoolean() {
|
|
return b;
|
|
}
|
|
|
|
public void setBoolean(boolean newvalue) {
|
|
this.b = newvalue;
|
|
}
|
|
|
|
public long getLong() {
|
|
return l;
|
|
}
|
|
|
|
public void setLong(long newvalue) {
|
|
this.l = newvalue;
|
|
}
|
|
|
|
public float getFloat() {
|
|
return f;
|
|
}
|
|
|
|
public void setFloat(float newvalue) {
|
|
this.f = newvalue;
|
|
}
|
|
|
|
public char getChar() {
|
|
return c;
|
|
}
|
|
|
|
public void setChar(char newvalue) {
|
|
this.c = newvalue;
|
|
}
|
|
|
|
public double getDouble() {
|
|
return d;
|
|
}
|
|
|
|
public void setDouble(double newvalue) {
|
|
this.d = newvalue;
|
|
}
|
|
|
|
}
|