geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java
public void setIndexLocationOrder(FeatureIndexType... types) {
        // Create a new query order set
        Set<FeatureIndexType> queryOrder = new LinkedHashSet<>();
        for (FeatureIndexType type : types) {
            if (type != FeatureIndexType.NONE) {
                queryOrder.add(type);
            }
        }
        // Update the query order set
        indexLocationQueryOrder = queryOrder;
    }
public void setIndexLocationOrder(FeatureIndexType... types) {
        // Create a new query order set
        Set<FeatureIndexType> queryOrder = new LinkedHashSet<>();
        for (FeatureIndexType type : types) {
            if (type != FeatureIndexType.NONE) {
                queryOrder.add(type);
            }
        }
        // Update the query order set
        indexLocationQueryOrder = queryOrder;
    }
public void setIndexLocationOrder ( FeatureIndexType ... types ) { // Create a new query order set Set < FeatureIndexType > queryOrder = new LinkedHashSet <> ( ) ; for ( FeatureIndexType type : types ) { if ( type != FeatureIndexType . NONE ) { queryOrder . add ( type ) ; } } // Update the query order set indexLocationQueryOrder = queryOrder ; }
Set the index location order, overriding all previously set types

@param types feature index types
@since 3.1.0
Set the index location order overriding all previously set types