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:
Ray Greenwell
2006-07-12 02:22:18 +00:00
parent 78cefe9a8f
commit 2f3584adf7
5 changed files with 32 additions and 2 deletions
+9
View File
@@ -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;