Various small fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4258 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -27,6 +27,15 @@ public dynamic class TypedArray extends Array
|
||||
return "[L" + cname + ";";
|
||||
}
|
||||
|
||||
/**
|
||||
* A factory method to create a TypedArray for holding objects
|
||||
* of the specified type.
|
||||
*/
|
||||
public static function create (of :Class) :TypedArray
|
||||
{
|
||||
return new TypedArray(getJavaType(of));
|
||||
}
|
||||
|
||||
public function getJavaType () :String
|
||||
{
|
||||
return _jtype;
|
||||
|
||||
Reference in New Issue
Block a user