public class OrderUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static int |
getOrder(Object obj)
Return the order on the object.
|
static int |
higher(Integer orderSource,
int offset)
Higher.
|
static boolean |
higherOrEquals(org.springframework.aop.Advisor source,
org.springframework.aop.Advisor target)
Is higher or equals.
|
static boolean |
higherOrEquals(Class<?> source,
Class<?> target)
Is higher or equals.
|
static boolean |
higherOrEquals(Integer source,
Integer target)
Is higher or equals.
|
static boolean |
higherThan(org.springframework.aop.Advisor source,
org.springframework.aop.Advisor target)
Is higher or equals.
|
static boolean |
higherThan(Class<?> source,
Class<?> target)
Is higher than.
|
static boolean |
higherThan(Integer source,
Integer target)
Is higher than.
|
static int |
lower(Integer orderSource,
int offset)
Lower.
|
static boolean |
lowerOrEquals(org.springframework.aop.Advisor source,
org.springframework.aop.Advisor target)
Is lower or equals.
|
static boolean |
lowerOrEquals(Class<?> source,
Class<?> target)
Is lower or equals.
|
static boolean |
lowerOrEquals(Integer source,
Integer target)
Is lower or equals.
|
static boolean |
lowerThan(org.springframework.aop.Advisor source,
org.springframework.aop.Advisor target)
Is lower than.
|
static boolean |
lowerThan(Class<?> source,
Class<?> target)
Is lower than.
|
static boolean |
lowerThan(Integer source,
Integer target)
Is lower than.
|
public static int getOrder(Object obj)
obj - the objpublic static boolean lowerThan(Integer source, Integer target)
source - the sourcetarget - the targetpublic static boolean higherThan(Integer source, Integer target)
source - the sourcetarget - the targetpublic static boolean lowerOrEquals(Integer source, Integer target)
source - the sourcetarget - the targetpublic static boolean higherOrEquals(Integer source, Integer target)
source - the sourcetarget - the targetpublic static boolean lowerThan(Class<?> source, Class<?> target)
source - the sourcetarget - the targetpublic static boolean higherThan(Class<?> source, Class<?> target)
source - the sourcetarget - the targetpublic static boolean lowerOrEquals(Class<?> source, Class<?> target)
source - the sourcetarget - the targetpublic static boolean higherOrEquals(Class<?> source, Class<?> target)
source - the sourcetarget - the targetpublic static boolean lowerThan(org.springframework.aop.Advisor source,
org.springframework.aop.Advisor target)
source - the sourcetarget - the targetpublic static boolean higherThan(org.springframework.aop.Advisor source,
org.springframework.aop.Advisor target)
source - the sourcetarget - the targetpublic static boolean lowerOrEquals(org.springframework.aop.Advisor source,
org.springframework.aop.Advisor target)
source - the sourcetarget - the targetpublic static boolean higherOrEquals(org.springframework.aop.Advisor source,
org.springframework.aop.Advisor target)
source - the sourcetarget - the targetpublic static int lower(Integer orderSource, int offset)
orderSource - the order sourceoffset - the offsetpublic static int higher(Integer orderSource, int offset)
orderSource - the order sourceoffset - the offsetCopyright © 2022 Seata. All rights reserved.