A couple of example usage fixes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5442 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Nathan Curtis
2008-10-14 21:06:28 +00:00
parent 077c5e8053
commit 24b5b905e1
+3 -3
View File
@@ -31,8 +31,8 @@ import flash.utils.Dictionary;
* *
* public final class Foo extends Enum * public final class Foo extends Enum
* { * {
* public static const ONE = new Foo("ONE"); * public static const ONE :Foo = new Foo("ONE");
* public static const TWO = new Foo("TWO"); * public static const TWO :Foo = new Foo("TWO");
* finishedEnumerating(Foo); * finishedEnumerating(Foo);
* *
* // {at}private * // {at}private
@@ -43,7 +43,7 @@ import flash.utils.Dictionary;
* *
* public static function valueOf (name :String) :Foo * public static function valueOf (name :String) :Foo
* { * {
* return Enum.valueOf(Foo, name); * return Enum.valueOf(Foo, name) as Foo;
* } * }
* *
* public static function values () :Array * public static function values () :Array