package net.osmand; /** * Easy matcher to be able to publish results immediately * */ public interface ResultMatcher { /** * @param name * @return true if result should be added to final list */ boolean publish(T object); /** * @returns true to stop processing */ boolean isCancelled(); }