ca66f91ac7
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3935 542714f4-19e9-0310-aa3c-eee0fc999fb1
23 lines
422 B
ActionScript
23 lines
422 B
ActionScript
package com.threerings.util {
|
|
|
|
/**
|
|
* Equivalent to java.lang.Short.
|
|
*/
|
|
public class Short
|
|
implements Equalable
|
|
{
|
|
public var value :int;
|
|
|
|
public function Short (value :int)
|
|
{
|
|
this.value = value;
|
|
}
|
|
|
|
// documentation inherited from interface Equalable
|
|
public function equals (other :Object) :Boolean
|
|
{
|
|
return (other is Short) && (value === (other as Short).value);
|
|
}
|
|
}
|
|
}
|