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.
32 lines
355 B
32 lines
355 B
package com.porcupine.mutable;
|
|
|
|
|
|
/**
|
|
* Mutable integer
|
|
*
|
|
* @author Ondřej Hruška (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;
|
|
}
|
|
}
|
|
|