public QueryGraph lookup ( QueryResult fromRes , QueryResult toRes ) { List < QueryResult > results = new ArrayList <> ( 2 ) ; results . add ( fromRes ) ; results . add ( toRes ) ; lookup ( results ) ; return this ; }
Convenient method to initialize this QueryGraph with the two specified query results .