Uses of Interface
org.openjdk.jmc.common.unit.IConstraint
Packages that use IConstraint
Package
Description
This package contains the data model for quantities and units.
-
Uses of IConstraint in org.openjdk.jmc.common.unit
Subinterfaces of IConstraint in org.openjdk.jmc.common.unitClasses in org.openjdk.jmc.common.unit that implement IConstraintModifier and TypeClassDescriptionfinal classComparableConstraint<T extends Comparable<T>>Aconstraintthat wraps apersisterforComparablevalues, and constrains the allowed values with minimum and maximum values.classKindOfQuantity<U extends TypedUnit<U>>classThe kind of a linear (scalar) physical quantity.classFields in org.openjdk.jmc.common.unit declared as IConstraintFields in org.openjdk.jmc.common.unit with type parameters of type IConstraintModifier and TypeFieldDescriptionprotected final Map<K,IConstraint<?>> SimpleConstrainedMap.constraintsMethods in org.openjdk.jmc.common.unit that return IConstraintModifier and TypeMethodDescriptionIConstraint.combine(IConstraint<?> other) Return a constraint that honors both this constraint andother, if such a constraint would accept anything exceptnull.KindOfQuantity.combine(IConstraint<?> other) WrappingPersister.combine(IConstraint<?> other) static <U,T extends Comparable<T>>
IConstraint<U>ComparableConstraint.constrain(IConstraint<U> constraint, String persistedMin, String persistedMax) static <U,T extends Comparable<T>>
IConstraint<U>ComparableConstraint.constrain(IConstraint<U> constraint, U min, U max) IConstraint<?>IConstrainedMap.getConstraint(K key) IOptionDescriptor.getConstraint()abstract IConstraint<?>MutableConstrainedMap.getConstraint(K key) IConstraint<?>SimpleConstrainedMap.getConstraint(K key) protected IConstraint<?>MutableConstrainedMap.getSuggestedConstraint(K key) This method will only be called for keys for whichMutableConstrainedMap.getConstraint(Object)currently returns null for.protected IConstraint<?>SimpleConstrainedMap.getSuggestedConstraint(K key) Methods in org.openjdk.jmc.common.unit with parameters of type IConstraintModifier and TypeMethodDescriptionprotected voidMutableConstrainedMap.addConstraint(K key, IConstraint<?> constraint) protected voidSimpleConstrainedMap.addConstraint(K key, IConstraint<?> constraint) ComparableConstraint.combine(IConstraint<?> other) IConstraint.combine(IConstraint<?> other) Return a constraint that honors both this constraint andother, if such a constraint would accept anything exceptnull.KindOfQuantity.combine(IConstraint<?> other) WrappingPersister.combine(IConstraint<?> other) static <U,T extends Comparable<T>>
IConstraint<U>ComparableConstraint.constrain(IConstraint<U> constraint, String persistedMin, String persistedMax) static <U,T extends Comparable<T>>
IConstraint<U>ComparableConstraint.constrain(IConstraint<U> constraint, U min, U max) <T> voidIMutableConstrainedMap.put(K key, IConstraint<T> constraint, T value) Mapkeytovalue, if allowed according toconstraintand additional restrictions on this map such as a conflictingconstraintbeing in effect for thiskey.<T> voidMutableConstrainedMap.put(K key, IConstraint<T> constraint, T value) <T> voidIMutableConstrainedMap.putPersistedString(K key, IConstraint<T> constraint, String persisted) Mapkeyto the value obtained by parsingpersisted, if allowed according toconstraintand additional restrictions on this map such as a conflictingconstraintbeing in effect for thiskey.<T> voidMutableConstrainedMap.putPersistedString(K key, IConstraint<T> constraint, String persisted) Constructors in org.openjdk.jmc.common.unit with parameters of type IConstraintModifierConstructorDescriptionSimpleConstrainedMap(Map<K, IConstraint<?>> constraints, IConstraint<?> fallback) protectedSimpleConstrainedMap(Map<K, IConstraint<?>> constraints, IConstraint<?> fallback, Map<K, Object> values) SimpleConstrainedMap(IConstraint<?> fallback) Constructor parameters in org.openjdk.jmc.common.unit with type arguments of type IConstraintModifierConstructorDescriptionSimpleConstrainedMap(Map<K, IConstraint<?>> constraints, IConstraint<?> fallback) protectedSimpleConstrainedMap(Map<K, IConstraint<?>> constraints, IConstraint<?> fallback, Map<K, Object> values)