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 7FAB39064 for ; Mon, 2 Apr 2012 20:29:46 +0000 (UTC) Received: (qmail 66924 invoked by uid 500); 2 Apr 2012 20:29:45 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 66898 invoked by uid 500); 2 Apr 2012 20:29:45 -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 66888 invoked by uid 99); 2 Apr 2012 20:29:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 20:29:45 +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:29:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 78C03354946 for ; Mon, 2 Apr 2012 20:29:23 +0000 (UTC) Date: Mon, 2 Apr 2012 20:29:22 +0000 (UTC) From: "Omar Gonzalez (Commented) (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <1769858669.2705.1333398564548.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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FLEX-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244562#comment-13244562 ] Omar Gonzalez commented on FLEX-36: ----------------------------------- Yea I feel the same, the implementation around the Vector typing has some... issues. So I felt like I was hacking it together the whole way through because of the typing does behave as expected. > 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