package railo.commons.lang.types;

/**
 * Integer Type that can be modified
 */
public interface RefInteger {

    /**
     * @param value
     */
    public void setValue(int value);
    
    /**
     * operation plus
     * @param value
     */
    public void plus(int value);
    
    /**
     * operation minus
     * @param value
     */
    public void minus(int value);

    /**
     * @return returns value as integer Object
     */
    public Integer toInteger();
    
    /**
     * @return returns value as int
     */
    public int toInt();
    /**
     * @return returns value as Double Object
     */
    public Double toDouble();
    
    /**
     * @return returns value as double
     */
    public double toDoubleValue();
    
}