# Uses of Interface
org.apache.uima.cas.admin.FSIndexComparator

Packages that use FSIndexComparator
Package
Description
org.apache.uima.cas.admin
org.apache.uima.cas.impl
Implementation and Low-Level API for the CAS Interfaces.

- ## Uses of FSIndexComparator in org.apache.uima.cas.admin

  Methods in org.apache.uima.cas.admin that return FSIndexComparator
  Modifier and Type
  Method
  Description
  `FSIndexComparator`
  FSIndexRepositoryMgr.`createComparator()`
  Create a new comparator to define a new index.
  Methods in org.apache.uima.cas.admin with parameters of type FSIndexComparator
  Modifier and Type
  Method
  Description
  `boolean`
  FSIndexRepositoryMgr.`createIndex(FSIndexComparator comp, String label)`
  Create a new sorted index.
  `boolean`
  FSIndexRepositoryMgr.`createIndex(FSIndexComparator comp, String label, int indexingStrategy)`
  Create a new index.

- ## Uses of FSIndexComparator in org.apache.uima.cas.impl

  Classes in org.apache.uima.cas.impl that implement FSIndexComparator
  Modifier and Type
  Class
  Description
  `class`
  `FSIndexComparatorImpl`
  Specifies the comparison to be used for an index, in terms of - the keys and the typeorder, in an order - the standard/reverse ordering
  Methods in org.apache.uima.cas.impl that return FSIndexComparator
  Modifier and Type
  Method
  Description
  `FSIndexComparator`
  FSIndexRepositoryImpl.`createComparator()`
  `FSIndexComparator`
  FsIndex_singletype.`getComparatorForIndexSpecs()`
  `FSIndexComparator`
  FsIndex_snapshot.`getComparatorForIndexSpecs()`
  `FSIndexComparator`
  LowLevelIndex.`getComparatorForIndexSpecs()`
  This is **NOT** a comparator for Feature Structures, but rather something that compares two comparator specifications
  Methods in org.apache.uima.cas.impl with parameters of type FSIndexComparator
  Modifier and Type
  Method
  Description
  `int`
  FSIndexComparatorImpl.`compareTo(FSIndexComparator o)`
  Compares two FSIndexComparator instances.
  `boolean`
  FSIndexRepositoryImpl.`createIndex(FSIndexComparator comp, String label)`
  `boolean`
  FSIndexRepositoryImpl.`createIndex(FSIndexComparator comp, String label, int indexType)`
  `<T extends FeatureStructure>
  boolean`
  FSIndexRepositoryImpl.`createIndexNoQuestionsAsked(FSIndexComparator comp, String label, int indexType)`
  This is public only until the xml specifier format supports specifying index kinds (set, bag etc.).
  `<T extends FeatureStructure>
  Iterator<String>`
  FSIndexRepositoryImpl.`getLabels(FSIndexComparator comp)`
  Get the labels for a specific comparator.
  Constructors in org.apache.uima.cas.impl with parameters of type FSIndexComparator
  Modifier
  Constructor
  Description
  `protected`
  `FsIndex_singletype(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs)`
  Constructor for FsIndex_singletype.