Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DE89109BE for ; Mon, 30 Sep 2013 07:36:06 +0000 (UTC) Received: (qmail 61568 invoked by uid 500); 30 Sep 2013 07:35:57 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 60643 invoked by uid 500); 30 Sep 2013 07:35:53 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 60610 invoked by uid 99); 30 Sep 2013 07:35:45 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Sep 2013 07:35:45 +0000 Received: from localhost (HELO [10.0.1.20]) (127.0.0.1) (smtp-auth username rec, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Sep 2013 07:35:45 +0000 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: UIMA Feature From: Richard Eckart de Castilho In-Reply-To: Date: Mon, 30 Sep 2013 09:35:42 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@uima.apache.org X-Mailer: Apple Mail (2.1510) That's an interesting question. This should work: Create a type:=20 ElementList { FSArray elements; } In the type where you want to create the ArrayList feature, add a this: =85 { FSArray elements; } When you say ArrayList, this can also be written as ArrayList ->=20 ArrayList>, X =3D Object -> ArrayList, Y =3D ArrayList, X =3D Object In Java, this Y can be anonymous, but in UIMA, afaik we need to make it explicit. Mind there is no "Object" in UIMA, the equivalent is "TOP": FSArray, Y =3D ElementList =3D FSArray, X =3D TOP You should be able to replace FSArray with FSList if you prefer that. -- Richard On 30.09.2013, at 06:33, harshal patni wrote: > Hi, > I am trying to create a feature within my TypeSystemDescriptor. I = would > like to create a feature of type ArrayList "ArrayList of > Arraylist". Is it possible to create this feature? How would we do = that? >=20 > Harshal