org.sonar.squid.indexer
Class QueryByType

java.lang.Object
  extended by org.sonar.squid.indexer.QueryByType
All Implemented Interfaces:
Query

public class QueryByType
extends Object
implements Query


Constructor Summary
QueryByType(Class<? extends SourceCode> resourceType)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 boolean match(SourceCode unit)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryByType

public QueryByType(Class<? extends SourceCode> resourceType)
Method Detail

match

public boolean match(SourceCode unit)
Specified by:
match in interface Query

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.