001 package railo.commons.lang.types; 002 003 /** 004 * Integer Type that can be modified 005 */ 006 public final class RefIntegerSync extends RefIntegerImpl { 007 008 /** 009 * @param value 010 */ 011 public RefIntegerSync(int value) { 012 super(value); 013 } 014 015 /** 016 * @param value 017 */ 018 public synchronized void setValue(int value) { 019 super.setValue(value); 020 } 021 022 /** 023 * operation plus 024 * @param value 025 */ 026 public synchronized void plus(int value) { 027 super.plus(value); 028 } 029 030 /** 031 * operation minus 032 * @param value 033 */ 034 public synchronized void minus(int value) { 035 super.minus(value); 036 } 037 }