Wrapped -> Boxed.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5195 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2008-06-23 21:09:14 +00:00
parent 0d93214e22
commit f3abe8507b
14 changed files with 54 additions and 44 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ package com.threerings.util {
// Number <--> java.lang.Double. However, a Number object that refers
// to an integer value is actually an int. Yes, it's totally fucked.
public class Integer
implements Equalable, Wrapped
implements Equalable, Boxed
{
public var value :int;
@@ -50,8 +50,8 @@ public class Integer
return (other is Integer) && (value === (other as Integer).value);
}
// from Wrapped
public function unwrap () :Object
// from Boxed
public function unbox () :Object
{
return value;
}