Dear Richard,
to use StringStringMapEntry, needn't it subclass TOP or FeatureStructure? Is it
possible to store an arbitray object into a CAS?
Cheers,
Armin
-Ursprüngliche Nachricht-
Von: Richard Eckart de Castilho [mailto:r...@apache.org]
Gesendet: Mittwoch, 16. Oktober 2013 18:02
TOP or AnnotationBase (which contains view-related code) would be the
appropriate types, I believe.
It is not possible to store arbitrary objects in the CAS.
-- Richard
On 17.10.2013, at 16:33, armin.weg...@bka.bund.de wrote:
Dear Richard,
to use StringStringMapEntry, needn't it subclass
Hi Thomas,
thanks for your answer. Using HashMap, does the n-th element of keySet() always
corresponds to the n-th element of values()? Is this a defined behavior in Java?
Cheers,
Armin
-Ursprüngliche Nachricht-
Von: Thomas Ginter [mailto:thomas.gin...@utah.edu]
Gesendet: Mittwoch,
Armin,
Yes. Extracting the key set results in an array wherein the n-th element of
the key array corresponds to the n-th element of the values array. That is
part of how the hash map is handled in Java. Even if you implemented your own
sorting algorithm for insertion the value would get
Hi all,
I have an AE that produces the error below when deployed as a UIMA-AS
2.4.0 service. The same AE as part of a UIMA 2.4.2 CPE or a uimafit 2.*
pipeline does not produce any errors and works as expected.
Among other things, this AE uses ruta rules to process the CAS. When the
rules
You could also use the entrySet which gives you all the key/value pairs.
-- Richard
On 17.10.2013, at 16:43, armin.weg...@bka.bund.de wrote:
Hi Thomas,
thanks for your answer. Using HashMap, does the n-th element of keySet()
always corresponds to the n-th element of values()? Is this a
Looks good, I will try it.
Thank you,
Armin
On 10/17/13, Richard Eckart de Castilho r...@apache.org wrote:
You could also use the entrySet which gives you all the key/value pairs.
-- Richard
On 17.10.2013, at 16:43, armin.weg...@bka.bund.de wrote:
Hi Thomas,
thanks for your answer.