public interface IOrderable extends Comparable<IOrderable>
SequenceOrder
annotaionModifier and Type | Method and Description |
---|---|
default int |
compareTo(IOrderable other) |
default boolean |
shouldBeAfter(Class<? extends IOrderable> lhsClass,
Class<? extends IOrderable> rhsClass)
Checks whether the second class should be sorted after the first class.
|
default int compareTo(IOrderable other)
compareTo
in interface Comparable<IOrderable>
default boolean shouldBeAfter(Class<? extends IOrderable> lhsClass, Class<? extends IOrderable> rhsClass)
lhsClass
- First class to check.rhsClass
- Other class to compare against the first.true
, iff clazzToTest
should come after clazz
.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.