Changeset 352 for trunk/src_apollo/org/apollo/util/Mutable.java
- Timestamp:
- 10/08/08 13:59:53 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src_apollo/org/apollo/util/Mutable.java
r349 r352 10 10 */ 11 11 public class Mutable { 12 13 12 private static Mutable instance = new Mutable(); 14 13 private Mutable() {} … … 21 20 } 22 21 22 public class Long { 23 public Long(long val) { 24 this.value = val; 25 } 26 public long value; 27 } 28 23 29 public static Integer createMutableInteger(int val) { 24 30 return instance.new Integer(val); 25 31 } 26 32 33 public static Long createMutableLong(long val) { 34 return instance.new Long(val); 35 } 27 36 }
Note:
See TracChangeset
for help on using the changeset viewer.