Nixed JavaConstants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4434 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
package com.threerings.util {
|
||||
|
||||
public class JavaConstants
|
||||
{
|
||||
public static const SHORT_MAX_VALUE :int = (Math.pow(2, 15) - 1);
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,13 @@ package com.threerings.util {
|
||||
public class Short
|
||||
implements Equalable, Wrapped
|
||||
{
|
||||
/** The minimum possible short value. */
|
||||
public static const MIN_VALUE :int = -Math.pow(2, 15);
|
||||
|
||||
/** The maximum possible short value. */
|
||||
public static const MAX_VALUE :int = (Math.pow(2, 15) - 1);
|
||||
|
||||
/** The value of this short. */
|
||||
public var value :int;
|
||||
|
||||
public static function valueOf (val :int) :Short
|
||||
|
||||
Reference in New Issue
Block a user