public class SubjectIdentityDecider<T extends TMObjectIF> extends Object implements Predicate<T>
| Modifier and Type | Field and Description |
|---|---|
protected LocatorIF |
subject_identifier
PROTECTED: the given subject identifier.
|
| Constructor and Description |
|---|
SubjectIdentityDecider(LocatorIF subject_identifier)
INTERNAL: Creates a decider which uses the given subject identifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(T object)
INTERNAL: Decides whether an object (directly or indirectly) has a
given subject identifier.
|
protected LocatorIF subject_identifier
public SubjectIdentityDecider(LocatorIF subject_identifier)
subject_identifier - locatorIF which is the given subject identifierpublic boolean test(T object)
test in interface Predicate<T extends TMObjectIF>object - an object which must be a TypedIF or TopicIF