Constructor and Description |
---|
TypeFilter(TypeDefinition type)
Create a filter matching instances associated with the given type.
|
public TypeFilter(TypeDefinition type)
type
- the type definition to match, if null
any type
associated with an instance will be a matchpublic boolean match(Instance instance)
Filter
match
in interface Filter
instance
- the instance to check the filter againsttrue
if the given instance matches the filter,
false
otherwiseFilter.match(Instance)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a