Class Bound.Eq<T extends java.lang.Comparable<T>>
- java.lang.Object
-
- org.opennms.netmgt.flows.classification.internal.decision.Bound<T>
-
- org.opennms.netmgt.flows.classification.internal.decision.Bound.Eq<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.netmgt.flows.classification.internal.decision.Bound
Bound.Any<T extends java.lang.Comparable<T>>, Bound.Eq<T extends java.lang.Comparable<T>>, Bound.Gt<T extends java.lang.Comparable<T>>, Bound.In<T extends java.lang.Comparable<T>>, Bound.Lt<T extends java.lang.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.
-
eq
public Bound<T> eq(T value)
Description copied from class:Bound
Restricts this bound such that it includes only the given value.
-
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.
-
includes
public boolean includes(T value)
Description copied from class:Bound
Checks if this bound includes the given value.
-
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 java.lang.Comparable<T>>
-
-