Class ComparableConstraint<T extends Comparable<T>>

java.lang.Object
org.openjdk.jmc.common.unit.ComparableConstraint<T>
Type Parameters:
T - the type of values that the constraint operates on
All Implemented Interfaces:
IConstraint<T>, IFormatter<T>

public final class ComparableConstraint<T extends Comparable<T>> extends Object implements IConstraint<T>, IFormatter<T>
A constraint that wraps a persister for Comparable values, and constrains the allowed values with minimum and maximum values.