ComparableCoerceAtMostExtension<T extends Comparable<T>> extension

on
  • T

Methods

coerceAtMost(T maximumValue) → T

Available on T, provided by the ComparableCoerceAtMostExtension extension

Ensures that this value is not greater than the specified maximumValue.