geopackage-sdk/src/main/java/mil/nga/geopackage/features/index/FeatureIndexManager.java
public void prioritizeQueryLocation(FeatureIndexType... types) {
        // Create a new query order set
        Set<FeatureIndexType> queryOrder = new LinkedHashSet<>();
        for (FeatureIndexType type : types) {
            if (type != FeatureIndexType.NONE) {
                queryOrder.add(type);
            }
        }
        // Add any locations not provided to this method
        queryOrder.addAll(indexLocationQueryOrder);
        // Update the query order set
        indexLocationQueryOrder = queryOrder;
    }
public void prioritizeQueryLocation(FeatureIndexType... types) {
        // Create a new query order set
        Set<FeatureIndexType> queryOrder = new LinkedHashSet<>();
        for (FeatureIndexType type : types) {
            if (type != FeatureIndexType.NONE) {
                queryOrder.add(type);
            }
        }
        // Add any locations not provided to this method
        queryOrder.addAll(indexLocationQueryOrder);
        // Update the query order set
        indexLocationQueryOrder = queryOrder;
    }
public void prioritizeQueryLocation ( FeatureIndexType ... types ) { // Create a new query order set Set < FeatureIndexType > queryOrder = new LinkedHashSet <> ( ) ; for ( FeatureIndexType type : types ) { if ( type != FeatureIndexType . NONE ) { queryOrder . add ( type ) ; } } // Add any locations not provided to this method queryOrder . addAll ( indexLocationQueryOrder ) ; // Update the query order set indexLocationQueryOrder = queryOrder ; }
Prioritize the query location order.  All types are placed at the front of the query order
in the order they are given. Omitting a location leaves it at it's current priority location.

@param types feature index types
Prioritize the query location order . All types are placed at the front of the query order in the order they are given . Omitting a location leaves it at it s current priority location .