Package org.apache.uima.cas.impl
Class AllFSs
- java.lang.Object
-
- org.apache.uima.cas.impl.AllFSs
-
class AllFSs extends java.lang.Object
support for collecting all FSs in a CAS- over all views
- both indexed, and (optionally) reachable
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CASImpl
cas
private PositiveIntSet
foundFSs
private PositiveIntSet
foundFSsBelowMark
private java.util.function.Predicate<TOP>
includeFilter
private MarkerImpl
mark
private java.util.ArrayList<TOP>
toBeScanned
private CasTypeSystemMapper
typeMapper
-
Constructor Summary
Constructors Constructor Description AllFSs(CASImpl cas)
simpler version, no mark info, no filter or type mapperAllFSs(CASImpl cas, MarkerImpl mark, java.util.function.Predicate<TOP> includeFilter, CasTypeSystemMapper typeMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
enqueueFeatures(TOP fs)
private void
enqueueFS(TOP fs)
(package private) PositiveIntSet
getAllBelowMark()
(package private) java.util.ArrayList<TOP>
getAllFSs()
private AllFSs
getAllFSsAllViews_sofas()
AllFSs
getAllFSsAllViews_sofas_reachable()
(package private) java.util.ArrayList<TOP>
getAllFSsSorted()
(package private) PositiveIntSet
getAllNew()
private void
getFSsForView(java.util.Collection<TOP> fss)
-
-
-
Field Detail
-
cas
final CASImpl cas
-
mark
private final MarkerImpl mark
-
foundFSs
private final PositiveIntSet foundFSs
-
foundFSsBelowMark
private final PositiveIntSet foundFSsBelowMark
-
toBeScanned
private final java.util.ArrayList<TOP> toBeScanned
-
includeFilter
private final java.util.function.Predicate<TOP> includeFilter
-
typeMapper
private final CasTypeSystemMapper typeMapper
-
-
Constructor Detail
-
AllFSs
AllFSs(CASImpl cas, MarkerImpl mark, java.util.function.Predicate<TOP> includeFilter, CasTypeSystemMapper typeMapper)
-
AllFSs
AllFSs(CASImpl cas)
simpler version, no mark info, no filter or type mapper- Parameters:
cas
- -
-
-
Method Detail
-
getAllBelowMark
PositiveIntSet getAllBelowMark()
-
getAllNew
PositiveIntSet getAllNew()
-
getAllFSs
java.util.ArrayList<TOP> getAllFSs()
-
getAllFSsSorted
java.util.ArrayList<TOP> getAllFSsSorted()
-
getAllFSsAllViews_sofas
private AllFSs getAllFSsAllViews_sofas()
-
getAllFSsAllViews_sofas_reachable
public AllFSs getAllFSsAllViews_sofas_reachable()
-
getFSsForView
private void getFSsForView(java.util.Collection<TOP> fss)
-
enqueueFS
private void enqueueFS(TOP fs)
-
enqueueFeatures
private void enqueueFeatures(TOP fs)
-
-