geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java
public int index(boolean force, List<FeatureIndexType> types) {
        int count = 0;
        for (FeatureIndexType type : types) {
            int typeCount = index(type, force);
            count = Math.max(count, typeCount);
        }
        return count;
    }
public int index(boolean force, List<FeatureIndexType> types) {
        int count = 0;
        for (FeatureIndexType type : types) {
            int typeCount = index(type, force);
            count = Math.max(count, typeCount);
        }
        return count;
    }
Index the feature tables for the index types

@param force true to force re-indexing
@param types feature index types
@return largest count of indexed features
@since 2.0.0