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 booleancanBeRestrictedBy(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.booleanincludes(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.booleanoverlaps(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:BoundRestricts this bound such that it includes only values that are less than the given value.- Specified by:
ltin classBound<T extends Comparable<T>>
-
eq
public Bound<T> eq(T value)
Description copied from class:BoundRestricts this bound such that it includes only the given value.- Specified by:
eqin classBound<T extends Comparable<T>>
-
gt
public Bound<T> gt(T value)
Description copied from class:BoundRestricts this bound such that it includes only values that are greater than the given value.- Specified by:
gtin classBound<T extends Comparable<T>>
-
includes
public boolean includes(T value)
Description copied from class:BoundChecks if this bound includes the given value.- Specified by:
includesin classBound<T extends Comparable<T>>
-
canBeRestrictedBy
public boolean canBeRestrictedBy(T value)
Description copied from class:BoundChecks if this bound can be restricted by the given value.- Specified by:
canBeRestrictedByin classBound<T extends Comparable<T>>
-
-