您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
32 行
337 B
32 行
337 B
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;
|
|
}
|
|
}
|
|
|