Class Bound.Eq<T extends java.lang.Comparable<T>>

  • Enclosing class:
    Bound<T extends java.lang.Comparable<T>>

    public static class Bound.Eq<T extends java.lang.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 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>>
    • Field Summary

      • Fields inherited from class org.opennms.netmgt.flows.classification.internal.decision.Bound

        ANY
    • Constructor Summary

      Constructors 
      Constructor Description
      Eq​(T value)  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 class Bound<T extends java.lang.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 class Bound<T extends java.lang.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 class Bound<T extends java.lang.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 class Bound<T extends java.lang.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 class Bound<T extends java.lang.Comparable<T>>
      • overlaps

        public boolean overlaps​(T begin,
                                T end)
        Description copied from class: Bound
        Checks if this bound overlaps with the given range. Begin and end are inclusive.
        Specified by:
        overlaps in class Bound<T extends java.lang.Comparable<T>>