Class Bound.Gt<T extends Comparable<T>>

    • Constructor Detail

      • Gt

        public Gt​(T gt)
    • 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 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 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 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 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 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 Comparable<T>>