Package org.apache.uima.cas.impl
Class AllFSs
- java.lang.Object
-
- org.apache.uima.cas.impl.AllFSs
-
class AllFSs extends java.lang.Objectsupport 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) CASImplcasprivate PositiveIntSetfoundFSsprivate PositiveIntSetfoundFSsBelowMarkprivate java.util.function.Predicate<TOP>includeFilterprivate MarkerImplmarkprivate java.util.ArrayList<TOP>toBeScannedprivate CasTypeSystemMappertypeMapper
-
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 voidenqueueFeatures(TOP fs)private voidenqueueFS(TOP fs)(package private) PositiveIntSetgetAllBelowMark()(package private) java.util.ArrayList<TOP>getAllFSs()private AllFSsgetAllFSsAllViews_sofas()AllFSsgetAllFSsAllViews_sofas_reachable()(package private) java.util.ArrayList<TOP>getAllFSsSorted()(package private) PositiveIntSetgetAllNew()private voidgetFSsForView(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)
-
-