org.sbml.jsbml.util.filters
public class IdenticalUnitDefinitionFilter extends java.lang.Object implements Filter
Filter only accepts instances of UnitDefinition that
satisfy the method
UnitDefinition.areIdentical(UnitDefinition, UnitDefinition).| Modifier and Type | Field and Description |
|---|---|
private UnitDefinition |
ud
The
UnitDefinition we want to use for comparisons. |
| Constructor and Description |
|---|
IdenticalUnitDefinitionFilter(UnitDefinition ud)
Initializes this
Filter with a UnitDefinition to be used in
the accepts(Object) method for comparison. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(java.lang.Object o)
This method checks whether the given object is of the correct type and
has the desired properties set to be acceptable.
|
private UnitDefinition ud
UnitDefinition we want to use for comparisons.public IdenticalUnitDefinitionFilter(UnitDefinition ud)
Filter with a UnitDefinition to be used in
the accepts(Object) method for comparison.ud - public boolean accepts(java.lang.Object o)
Filter