@SuppressWarnings({"rawtypes", "unchecked"}) public void appendMatchingValues(Set answer, String[] paths, int idx) { appendMatchingValues(answer, paths, idx, true); }
@SuppressWarnings({"rawtypes", "unchecked"}) protected Set findWildcardMatches(ActiveMQDestination key, boolean deep) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0, deep); return answer; }
@SuppressWarnings({"rawtypes", "unchecked"}) public void appendMatchingValues(Set answer, String[] paths, int idx) { appendMatchingValues(answer, paths, idx, true); }
@SuppressWarnings({"rawtypes", "unchecked"}) public void appendMatchingValues(Set answer, String[] paths, int idx) { appendMatchingValues(answer, paths, idx, true); }
@SuppressWarnings({"rawtypes", "unchecked"}) public void appendMatchingValues(Set answer, String[] paths, int idx) { appendMatchingValues(answer, paths, idx, true); }
@SuppressWarnings({"rawtypes", "unchecked"}) protected Set findWildcardMatches(ActiveMQDestination key, boolean deep) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0, deep); return answer; }
@SuppressWarnings({"rawtypes", "unchecked"}) protected Set findWildcardMatches(ActiveMQDestination key, boolean deep) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0, deep); return answer; }
@SuppressWarnings({"rawtypes", "unchecked"}) protected Set findWildcardMatches(ActiveMQDestination key, boolean deep) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0, deep); return answer; }
protected Set findWildcardMatches(ActiveMQDestination key) { String[] paths = key.getDestinationPaths(); Set answer = new HashSet(); getRootNode(key).appendMatchingValues(answer, paths, 0); return answer; }
/** * Matches any entries in the map containing wildcards */ public void appendMatchingWildcards(Set answer, String[] paths, int idx) { if (idx - 1 > pathLength) { return; } DestinationMapNode wildCardNode = getChild(ANY_CHILD); if (wildCardNode != null) { wildCardNode.appendMatchingValues(answer, paths, idx + 1); } wildCardNode = getChild(ANY_DESCENDENT); if (wildCardNode != null) { answer.addAll(wildCardNode.getDesendentValues()); } }