public static class RestAPIVersion.RestAPIVersionComparator extends Object implements Comparator<RestAPIVersion>
RestAPIVersion that sorts versions based on their version number, i.e.
oldest to latest.public int compare(RestAPIVersion o1, RestAPIVersion o2)
compare 在接口中 Comparator<RestAPIVersion>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.