Interface MutuallyExclusive<T>
-
- Type Parameters:
T
- type of object this can be mutually exclusive with.
- All Known Subinterfaces:
DetachedPropertiesDescription
,DetachedRelationshipDescription
,Predicate
,PropertiesDescription
,RelationshipDescription
- All Known Implementing Classes:
BaseDetachedPropertiesDescription
,BasePropertiesDescription
,BaseRelationshipDescription
,DetachedRelationshipDescriptionImpl
,LazyPropertiesDescription
,LazyRelationshipDescription
,LiteralPropertiesDescription
,WildcardPropertiesDescription
public interface MutuallyExclusive<T>
Component that can determine, whether it is mutually exclusive with another instance. In the context of this project, mutually exclusive instances are instances that arePartiallyComparable
and do not share a common more specific instance in the lattice formed by the partial order.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isMutuallyExclusive(T other)
Is this instance mutually exclusive with the given other instance? This method is reflexive.
-
-
-
Method Detail
-
isMutuallyExclusive
boolean isMutuallyExclusive(T other)
Is this instance mutually exclusive with the given other instance? This method is reflexive.- Parameters:
other
- to check mutual exclusivity against.- Returns:
- true iff this and the other are mutually exclusive.
-
-