org.sonar.batch.issue.ignore.pattern
Class LineRange

java.lang.Object
  extended by org.sonar.batch.issue.ignore.pattern.LineRange

public class LineRange
extends Object


Constructor Summary
LineRange(int from, int to)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 boolean in(int lineId)
           
 Set<Integer> toLines()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineRange

public LineRange(int from,
                 int to)
Method Detail

in

public boolean in(int lineId)

toLines

public Set<Integer> toLines()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2009–2015 SonarSource. All rights reserved.