Examples of GatheringSearchListener


Examples of com.google.dart.engine.internal.search.listener.GatheringSearchListener

   * @param runner the runner used to perform an asynchronous search
   * @return the results that were produced @ if the results of at least one of the searched could
   *         not be computed
   */
  private List<SearchMatch> gatherResults(SearchRunner runner) {
    GatheringSearchListener listener = new GatheringSearchListener();
    runner.performSearch(listener);
    while (!listener.isComplete()) {
      Thread.yield();
    }
    return listener.getMatches();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.