MCPcopy Index your code
hub / github.com/CompassSecurity/SAMLRaider / TestOrder

Interface TestOrder

src/main/java/livetesting/TestOrder.java:9–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import java.util.Comparator;
8
9public interface TestOrder {
10 @Retention(RetentionPolicy.RUNTIME)
11 @Target(ElementType.METHOD)
12 @interface Order {
13 int value();
14 }
15
16 static Comparator<TestOrder.Order> comparator() {
17 return (or1, or2) -> {
18 if (or1 != null && or2 != null) {
19 return or1.value() - or2.value();
20 } else if (or1 != null) {
21 return -1;
22 } else if (or2 != null) {
23 return 1;
24 }
25 return 0;
26 };
27 }
28}

Callers 1

LiveTestingTabMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected