From 19fa31cdba19f1a8c94b9bffe68d5f81f6940e1d Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 5 Oct 2006 00:24:20 +0000 Subject: [PATCH] Don't implement subList() as in Java this is a view and we can't do that easily in ActionScript without ubercomplexity. So we'll rewrite the code that was using it. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4409 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/StreamableArrayList.as | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/as/com/threerings/util/StreamableArrayList.as b/src/as/com/threerings/util/StreamableArrayList.as index 8efb6dadc..a1b94ed49 100644 --- a/src/as/com/threerings/util/StreamableArrayList.as +++ b/src/as/com/threerings/util/StreamableArrayList.as @@ -39,18 +39,6 @@ public class StreamableArrayList extends ArrayCollection } } - /** - * Extracts and returns a sublist from this list. - */ - public function subList (startIdx :int, endIdx :int) :ArrayCollection - { - var newlist :ArrayCollection = new ArrayCollection(); - for (var ii :int = startIdx; ii <= endIdx; ii++) { - newlist.addItem(getItemAt(ii)); - } - return newlist; - } - // documentation inherited from interface Streamable public function writeObject (out :ObjectOutputStream) :void {