Package org.openjdk.jmc.common.unit
Class UnitLookup.LeafContentType<T>
- java.lang.Object
-
- org.openjdk.jmc.common.unit.ContentType<T>
-
- org.openjdk.jmc.common.unit.UnitLookup.LeafContentType<T>
-
- All Implemented Interfaces:
IDescribable,IType<T>,IConstraint<T>,IPersister<T>
- Enclosing class:
- UnitLookup
private abstract static class UnitLookup.LeafContentType<T> extends ContentType<T> implements IPersister<T>
-
-
Field Summary
-
Fields inherited from class org.openjdk.jmc.common.unit.ContentType
m_identifier
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLeafContentType(java.lang.String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckNull(java.lang.Object value)IConstraint<T>combine(IConstraint<?> other)Return a constraint that honors both this constraint andother, if such a constraint would accept anything exceptnull.IPersister<T>getPersister()-
Methods inherited from class org.openjdk.jmc.common.unit.ContentType
addFormatter, getAccessor, getAccessorKeys, getAttributes, getDefaultFormatter, getDescription, getFormatter, getFormatters, getIdentifier, getName, hasAttribute, lookupNameFor, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openjdk.jmc.common.unit.IConstraint
parseInteractive, parsePersisted
-
Methods inherited from interface org.openjdk.jmc.common.unit.IPersister
interactiveFormat, persistableString, validate
-
-
-
-
Method Detail
-
checkNull
protected final void checkNull(java.lang.Object value)
-
combine
public IConstraint<T> combine(IConstraint<?> other)
Description copied from interface:IConstraintReturn a constraint that honors both this constraint andother, if such a constraint would accept anything exceptnull. Otherwise, returnnull.- Specified by:
combinein interfaceIConstraint<T>- Returns:
- a constraint or
null
-
getPersister
public IPersister<T> getPersister()
- Overrides:
getPersisterin classContentType<T>
-
-