001 package railo.commons.lang.types; 002 003 /** 004 * Integer Type that can be modified 005 */ 006 public interface RefInteger { 007 008 /** 009 * @param value 010 */ 011 public void setValue(int value); 012 013 /** 014 * operation plus 015 * @param value 016 */ 017 public void plus(int value); 018 019 /** 020 * operation minus 021 * @param value 022 */ 023 public void minus(int value); 024 025 /** 026 * @return returns value as integer Object 027 */ 028 public Integer toInteger(); 029 030 /** 031 * @return returns value as int 032 */ 033 public int toInt(); 034 /** 035 * @return returns value as Double Object 036 */ 037 public Double toDouble(); 038 039 /** 040 * @return returns value as double 041 */ 042 public double toDoubleValue(); 043 044 }