THISTYPE - The implementation typepublic interface ISeverityComparable<THISTYPE extends ISeverityComparable<THISTYPE>>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEQ(THISTYPE aOther)
Check if this object is of the same level (= equal important) than the
passed object.
|
default boolean |
isEqualSevereThan(THISTYPE aOther)
Deprecated.
Use
isEQ(ISeverityComparable) instead |
boolean |
isGE(THISTYPE aOther)
Check if this object is of equal or higher level (= equally or more
important) than the passed object.
|
boolean |
isGT(THISTYPE aOther)
Check if this object is of higher level (= more important) than the passed
object.
|
boolean |
isLE(THISTYPE aOther)
Check if this object is of equal or lower level (= equally or less
important) than the passed object.
|
default boolean |
isLessOrEqualSevereThan(THISTYPE aOther)
Deprecated.
Use
isLE(ISeverityComparable) instead |
default boolean |
isLessSevereThan(THISTYPE aOther)
Deprecated.
Use
isLT(ISeverityComparable) instead |
boolean |
isLT(THISTYPE aOther)
Check if this object is of lower level (= less important) than the passed
object.
|
default boolean |
isMoreOrEqualSevereThan(THISTYPE aOther)
Deprecated.
Use
isGE(ISeverityComparable) instead |
default boolean |
isMoreSevereThan(THISTYPE aOther)
Deprecated.
Use
isGT(ISeverityComparable) instead |
default boolean |
isNE(THISTYPE aOther)
Check if this object is of a different level (= different importance) than
the passed object.
|
@Deprecated default boolean isEqualSevereThan(@Nonnull THISTYPE aOther)
isEQ(ISeverityComparable) insteadaOther - The object to compare to.true if this object is equally important than the
passed object!boolean isEQ(@Nonnull THISTYPE aOther)
aOther - The object to compare to.true if this object is equally important than the
passed object!default boolean isNE(@Nonnull THISTYPE aOther)
aOther - The object to compare to.true if this object is not equally important than the
passed object!@Deprecated default boolean isLessSevereThan(@Nonnull THISTYPE aOther)
isLT(ISeverityComparable) insteadaOther - The object to compare to.true if this object is less important than the passed
object!boolean isLT(@Nonnull THISTYPE aOther)
aOther - The object to compare to.true if this object is less important than the passed
object!@Deprecated default boolean isLessOrEqualSevereThan(@Nonnull THISTYPE aOther)
isLE(ISeverityComparable) insteadaOther - The object to compare to.true if this object is equally or less important than
the passed object!boolean isLE(@Nonnull THISTYPE aOther)
aOther - The object to compare to.true if this object is equally or less important than
the passed object!@Deprecated default boolean isMoreSevereThan(@Nonnull THISTYPE aOther)
isGT(ISeverityComparable) insteadaOther - The object to compare to.true if this object is more important than the passed
object!boolean isGT(@Nonnull THISTYPE aOther)
aOther - The object to compare to.true if this object is more important than the passed
object!@Deprecated default boolean isMoreOrEqualSevereThan(@Nonnull THISTYPE aOther)
isGE(ISeverityComparable) insteadaOther - The object to compare to.true if this object is equally or more important than
the passed object!Copyright © 2014–2017 Philip Helger. All rights reserved.