protected static class AntPathMatcher.AntPatternComparator extends Object implements Comparator<String>
Comparator
implementation returned by AntPathMatcher.getPatternComparator(String)
.
In order, the most "generic" pattern is determined by the following:
Constructor and Description |
---|
AntPathMatcher.AntPatternComparator(String path) |
Modifier and Type | Method and Description |
---|---|
int |
compare(String pattern1,
String pattern2)
Compare two patterns to determine which should match first, i.e.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public AntPathMatcher.AntPatternComparator(String path)
public int compare(String pattern1, String pattern2)
compare
in interface Comparator<String>
Copyright © 2016 huihoo. All rights reserved.