/** * A map from pattern to value * @param values the pattern map to set */ public void setPatternMap(Map<String, T> values) { this.values = new PatternMatcher<T>(values); }
/** * Create a classifier from the provided map. The keys are patterns, using * '?' as a single character and '*' as multi-character wildcard. * * @param values the values to use in the {@link PatternMatcher} */ public PatternMatchingClassifier(Map<String, T> values) { super(); this.values = new PatternMatcher<T>(values); }
/** * Create a classifier from the provided map. The keys are patterns, using * '?' as a single character and '*' as multi-character wildcard. * * @param values the values to use in the {@link PatternMatcher} */ public PatternMatchingClassifier(Map<String, T> values) { super(); this.values = new PatternMatcher<T>(values); }
/** * A map from pattern to value * @param values the pattern map to set */ public void setPatternMap(Map<String, T> values) { this.values = new PatternMatcher<T>(values); }