publicstatic Integer valueOf(int i){ if (i >= IntegerCache.low && i <= IntegerCache.high) return IntegerCache.cache[i + (-IntegerCache.low)]; returnnew Integer(i); } privatestaticclassIntegerCache{ staticfinalint low = -128; staticfinalint high; static { // high value may be configured by property int h = 127; } }