You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
333 B
29 lines
333 B
10 years ago
|
package com.porcupine.mutable;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Mutable integer
|
||
|
*
|
||
|
* @author MightyPork
|
||
|
*/
|
||
|
public class MInt extends AbstractMutable<Integer> {
|
||
|
/**
|
||
|
* Mutable int
|
||
|
*
|
||
|
* @param o value
|
||
|
*/
|
||
|
public MInt(Integer o) {
|
||
|
super(o);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Imp.c.
|
||
|
*/
|
||
|
public MInt() {}
|
||
|
|
||
|
@Override
|
||
|
protected Integer getDefault() {
|
||
|
return 0;
|
||
|
}
|
||
|
}
|