public interface Factory extends FactoryProperties
FactoryProperties.ComparatorBuilder
Modifier and Type | Method and Description |
---|---|
Object |
getFeature(String key)
Gets the value of a feature used by this Factory
|
Object |
getProperty(String key)
Gets the value of a read-only property that applies to all objects returned
by this Factory.
|
void |
setFeature(String key,
Object value)
Sets a feature for new Objects returned by this Factory
|
getDescription, getDisplayName, getIdentifier, newComparatorBuilder
Object getProperty(String key)
key
- the name of the property to getObject getFeature(String key)
key
- the key for the featureIllegalArgumentException
- if the underlying implementation does not recognize the featurevoid setFeature(String key, Object value)
key
- the key for the featurevalue
- the value of the featureIllegalArgumentException
- if the underlying implementation does not recognize the feature