public static void addTransitiveMatches(HollowReadStateEngine stateEngine, Map<String, BitSet> matches) {
    """
	Augment the given selection by adding the references, and the <i>transitive</i> references, of our selection.
	@param stateEngine the state engine
	@param matches the map to which matches are placed
    """
        List<HollowSchema> schemaList = HollowSchemaSorter.dependencyOrderedSchemaList(stateEngine);
        Collections.reverse(schemaList);

        for(HollowSchema schema : schemaList) {
            BitSet currentMatches = matches.get(schema.getName());
            if(currentMatches != null) {
                addTransitiveMatches(stateEngine, schema.getName(), matches);
            }
        }
    }
public static void addTransitiveMatches(HollowReadStateEngine stateEngine, Map<String, BitSet> matches) {
        List<HollowSchema> schemaList = HollowSchemaSorter.dependencyOrderedSchemaList(stateEngine);
        Collections.reverse(schemaList);

        for(HollowSchema schema : schemaList) {
            BitSet currentMatches = matches.get(schema.getName());
            if(currentMatches != null) {
                addTransitiveMatches(stateEngine, schema.getName(), matches);
            }
        }
    }
public static void addTransitiveMatches ( HollowReadStateEngine stateEngine , Map < String , BitSet > matches ) { List < HollowSchema > schemaList = HollowSchemaSorter . dependencyOrderedSchemaList ( stateEngine ) ; Collections . reverse ( schemaList ) ; for ( HollowSchema schema : schemaList ) { BitSet currentMatches = matches . get ( schema . getName ( ) ) ; if ( currentMatches != null ) { addTransitiveMatches ( stateEngine , schema . getName ( ) , matches ) ; } } }
Augment the given selection by adding the references, and the <i>transitive</i> references, of our selection.
@param stateEngine the state engine
@param matches the map to which matches are placed
Augment the given selection by adding the references and the <i > transitive< / i > references of our selection .