Arbitrary (pojo?) objects in cas sounds great. serialization must be interesting.
It is about time that they threw in some garbage collection. Streaming is great. When I first saw it I thought "so what?" Now I love it. Thanks for sharing ! ________________________________________ From: Miller, Timothy <[email protected]> Sent: Thursday, March 15, 2018 4:23 PM To: [email protected] Subject: uima 3 [EXTERNAL] [SUSPICIOUS] Has some cool looking useful new functionality: https://urldefense.proofpoint.com/v2/url?u=https-3A__uima.apache.org_d_uimaj-2D3.0.0-2Dalpha02_version-5F3-5Fusers-5Fguide.htm&d=DwIGaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=vqYhfR069ABfqcm3YRNANEWyOj2WL3kcLL8Av43PmF8&s=K1AIi6vZ0KrIYp_FuNgx3D7cdLJNyVJG6U0ULKTj1QY&e= l#uv3.overview.new Support for arbitrary Java objects, transportable in the CAS New types: FSHashSet Automatic garbage collection of unreferenced Feature Structures better performance And an interesting new select api that interacts with java streaming api: Set<Type> foundTypes = myIndex.select(MyType.class) .coveredBy(myBoundingAnnotation) .nonOverlapping() .map(fs -> fs.getType()) .collect(Collectors.toCollection(TreeSet::new));
