Wrapped -> Boxed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5195 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -25,7 +25,7 @@ package com.threerings.util {
|
||||
* Equivalent to java.lang.Short.
|
||||
*/
|
||||
public class Short
|
||||
implements Equalable, Wrapped
|
||||
implements Equalable, Boxed
|
||||
{
|
||||
/** The minimum possible short value. */
|
||||
public static const MIN_VALUE :int = -Math.pow(2, 15);
|
||||
@@ -52,8 +52,8 @@ public class Short
|
||||
return (other is Short) && (value === (other as Short).value);
|
||||
}
|
||||
|
||||
// from Wrapped
|
||||
public function unwrap () :Object
|
||||
// from Boxed
|
||||
public function unbox () :Object
|
||||
{
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user