org.apache.ctakes.core.util
Class ListFactory
java.lang.Object
org.apache.ctakes.core.util.ListFactory
public class ListFactory
- extends Object
Factory to build List of built-in CAS types such as FloatList, IntegerList,
StringList, and FSList.
- Author:
- Mayo Clinic
Method Summary |
static org.apache.uima.jcas.cas.FSList |
buildList(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.cas.TOP[] objArr)
Builds a FSList from an array of JCas objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListFactory
public ListFactory()
buildList
public static org.apache.uima.jcas.cas.FSList buildList(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.cas.TOP[] objArr)
- Builds a FSList from an array of JCas objects.
- Parameters:
jcas
- The current JCas.objArr
- Array of JCas objects (objects must extend from TOP).
- Returns:
- FSList populated with the JCas objects.
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.