Uses of Interface
org.openjdk.jmc.common.unit.IConstraint
-
Packages that use IConstraint Package Description org.openjdk.jmc.common.unit 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.unit Modifier and Type Interface Description interfaceIPersister<T>Classes in org.openjdk.jmc.common.unit that implement IConstraint Modifier and Type Class Description classComparableConstraint<T extends java.lang.Comparable<T>>Aconstraintthat wraps apersisterforComparablevalues, and constrains the allowed values with minimum and maximum values.classKindOfQuantity<U extends TypedUnit<U>>classLinearKindOfQuantityThe kind of a linear (scalar) physical quantity.(package private) classTimestampKindprivate static classUnitLookup.LeafContentType<T>classWrappingPersister<T>Fields in org.openjdk.jmc.common.unit declared as IConstraint Modifier and Type Field Description protected IConstraint<?>SimpleConstrainedMap. fallbackFields in org.openjdk.jmc.common.unit with type parameters of type IConstraint Modifier and Type Field Description protected java.util.Map<K,IConstraint<?>>SimpleConstrainedMap. constraintsMethods in org.openjdk.jmc.common.unit that return IConstraint Modifier and Type Method Description IConstraint<T>IConstraint. combine(IConstraint<?> other)Return a constraint that honors both this constraint andother, if such a constraint would accept anything exceptnull.IConstraint<IQuantity>KindOfQuantity. combine(IConstraint<?> other)IConstraint<T>UnitLookup.LeafContentType. combine(IConstraint<?> other)IConstraint<T>WrappingPersister. combine(IConstraint<?> other)static <U,T extends java.lang.Comparable<T>>
IConstraint<U>ComparableConstraint. constrain(IConstraint<U> constraint, java.lang.String persistedMin, java.lang.String persistedMax)static <U,T extends java.lang.Comparable<T>>
IConstraint<U>ComparableConstraint. constrain(IConstraint<U> constraint, U min, U max)private IConstraint<T>ComparableConstraint. constrain(T otherMin, T otherMax)private static <T extends java.lang.Comparable<T>>
IConstraint<T>ComparableConstraint. constrainComparable(IConstraint<T> constraint, T min, T max)IConstraint<?>IConstrainedMap. getConstraint(K key)IConstraint<T>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 IConstraint Modifier and Type Method Description protected voidMutableConstrainedMap. addConstraint(K key, IConstraint<?> constraint)protected voidSimpleConstrainedMap. addConstraint(K key, IConstraint<?> constraint)ComparableConstraint<T>ComparableConstraint. combine(IConstraint<?> other)IConstraint<T>IConstraint. combine(IConstraint<?> other)Return a constraint that honors both this constraint andother, if such a constraint would accept anything exceptnull.IConstraint<IQuantity>KindOfQuantity. combine(IConstraint<?> other)IConstraint<T>UnitLookup.LeafContentType. combine(IConstraint<?> other)IConstraint<T>WrappingPersister. combine(IConstraint<?> other)static <U,T extends java.lang.Comparable<T>>
IConstraint<U>ComparableConstraint. constrain(IConstraint<U> constraint, java.lang.String persistedMin, java.lang.String persistedMax)static <U,T extends java.lang.Comparable<T>>
IConstraint<U>ComparableConstraint. constrain(IConstraint<U> constraint, U min, U max)private static <T extends java.lang.Comparable<T>>
IConstraint<T>ComparableConstraint. constrainComparable(IConstraint<T> constraint, T min, T max)private <T> java.lang.StringMutableConstrainedMap. getPersistableString(IConstraint<T> constraint, java.lang.Object value)<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, java.lang.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, java.lang.String persisted)private <T> voidMutableConstrainedMap. validate(IConstraint<T> constraint, java.lang.Object value)Constructors in org.openjdk.jmc.common.unit with parameters of type IConstraint Constructor Description SimpleConstrainedMap(java.util.Map<K,IConstraint<?>> constraints, IConstraint<?> fallback)SimpleConstrainedMap(java.util.Map<K,IConstraint<?>> constraints, IConstraint<?> fallback, java.util.Map<K,java.lang.Object> values)SimpleConstrainedMap(IConstraint<?> fallback)Constructor parameters in org.openjdk.jmc.common.unit with type arguments of type IConstraint Constructor Description SimpleConstrainedMap(java.util.Map<K,IConstraint<?>> constraints, IConstraint<?> fallback)SimpleConstrainedMap(java.util.Map<K,IConstraint<?>> constraints, IConstraint<?> fallback, java.util.Map<K,java.lang.Object> values)
-