Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 794219EAE for ; Mon, 2 Apr 2012 20:21:49 +0000 (UTC) Received: (qmail 38931 invoked by uid 500); 2 Apr 2012 20:21:48 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 38884 invoked by uid 500); 2 Apr 2012 20:21:48 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 38681 invoked by uid 99); 2 Apr 2012 20:21:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 20:21:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 20:21:45 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BB3753542B5 for ; Mon, 2 Apr 2012 20:21:24 +0000 (UTC) Date: Mon, 2 Apr 2012 20:21:24 +0000 (UTC) From: "Michael Labriola (Commented) (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <265644870.2636.1333398084768.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <151624166.2565.1333397483664.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (FLEX-36) Add Vector implementations of IList and ICollectionView MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244546#comment-13244546 ] Michael Labriola commented on FLEX-36: -------------------------------------- Sounds great. I will get mine up into my whiteboard soon. I just appreciate a second set of eyes to see if there are better approaches anywhere. > Add Vector implementations of IList and ICollectionView > ------------------------------------------------------- > > Key: FLEX-36 > URL: https://issues.apache.org/jira/browse/FLEX-36 > Project: Apache Flex > Issue Type: Improvement > Reporter: Josh Tynjala > Assignee: Bertrand Delacretaz > Priority: Minor > Labels: List, collections > > VectorList and VectorCollection, similar to ArrayList and ArrayCollection. Feels weird that I need to convert Vectors to Arrays to use in Flex collections. > In case anyone is unaware, you can cast Vector. as Vector.<*>. Works with the "as" and "is" keywords, as you can see below: > var strings:Vector. = new ["One", "Two", "Three"]; > trace(strings is Vector.<*>); //true > var generic:Vector.<*> = strings as Vector.<*>; > trace(strings) //One, Two, Three -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira