Class Bound.Eq<T extends Comparable<T>>
- java.lang.Object
-
- org.opennms.netmgt.flows.classification.internal.decision.Bound<T>
-
- org.opennms.netmgt.flows.classification.internal.decision.Bound.Eq<T>
-
- Enclosing class:
- Bound<T extends Comparable<T>>
public static class Bound.Eq<T extends Comparable<T>> extends Bound<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.netmgt.flows.classification.internal.decision.Bound
Bound.Any<T extends Comparable<T>>, Bound.Eq<T extends Comparable<T>>, Bound.Gt<T extends Comparable<T>>, Bound.In<T extends Comparable<T>>, Bound.Lt<T extends Comparable<T>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeRestrictedBy(T value)
Checks if this bound can be restricted by the given value.Bound<T>
eq(T value)
Restricts this bound such that it includes only the given value.Bound<T>
gt(T value)
Restricts this bound such that it includes only values that are greater than the given value.boolean
includes(T value)
Checks if this bound includes the given value.Bound<T>
lt(T value)
Restricts this bound such that it includes only values that are less than the given value.boolean
overlaps(T begin, T end)
Checks if this bound overlaps with the given range.
-
-
-
Constructor Detail
-
Eq
public Eq(T value)
-
-
Method Detail
-
lt
public Bound<T> lt(T value)
Description copied from class:Bound
Restricts this bound such that it includes only values that are less than the given value.- Specified by:
lt
in classBound<T extends Comparable<T>>
-
eq
public Bound<T> eq(T value)
Description copied from class:Bound
Restricts this bound such that it includes only the given value.- Specified by:
eq
in classBound<T extends Comparable<T>>
-
gt
public Bound<T> gt(T value)
Description copied from class:Bound
Restricts this bound such that it includes only values that are greater than the given value.- Specified by:
gt
in classBound<T extends Comparable<T>>
-
includes
public boolean includes(T value)
Description copied from class:Bound
Checks if this bound includes the given value.- Specified by:
includes
in classBound<T extends Comparable<T>>
-
canBeRestrictedBy
public boolean canBeRestrictedBy(T value)
Description copied from class:Bound
Checks if this bound can be restricted by the given value.- Specified by:
canBeRestrictedBy
in classBound<T extends Comparable<T>>
-
-