File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
spring-core/src/main/java/org/springframework/core Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
27
27
* {@link Comparator} implementation for {@link Ordered} objects, sorting
28
28
* by order value ascending, respectively by priority descending.
29
29
*
30
+ * <h3>{@code PriorityOrdered} Objects</h3>
31
+ * <p>{@link PriorityOrdered} objects will be sorted with higher priority than
32
+ * <em>plain</em> {@code Ordered} objects.
33
+ *
30
34
* <h3>Same Order Objects</h3>
31
35
* <p>Objects that have the same order value will be sorted with arbitrary
32
36
* ordering with respect to other objects with the same order value.
41
45
* @author Sam Brannen
42
46
* @since 07.04.2003
43
47
* @see Ordered
48
+ * @see PriorityOrdered
44
49
* @see org.springframework.core.annotation.AnnotationAwareOrderComparator
45
50
* @see java.util.List#sort(java.util.Comparator)
46
51
* @see java.util.Arrays#sort(Object[], java.util.Comparator)
You can’t perform that action at this time.
0 commit comments