public abstract class SloccountDiff extends Object implements Comparable<SloccountDiff>
Constructor and Description |
---|
SloccountDiff(int lineCount,
int lineCountDelta,
int fileCount,
int fileCountDelta,
int commentCount,
int commentCountDelta)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SloccountDiff o)
Compare two instances using lines count, descendant.
|
boolean |
equals(Object obj) |
int |
getCommentCount() |
int |
getCommentCountDelta() |
String |
getCommentCountDeltaString() |
String |
getCommentCountString() |
int |
getFileCount() |
int |
getFileCountDelta() |
String |
getFileCountDeltaString() |
String |
getFileCountString() |
int |
getLineCount() |
int |
getLineCountDelta() |
String |
getLineCountDeltaString() |
String |
getLineCountString() |
int |
hashCode() |
public SloccountDiff(int lineCount, int lineCountDelta, int fileCount, int fileCountDelta, int commentCount, int commentCountDelta)
lineCount
- lines count in the newer reportlineCountDelta
- difference of lines count between current and previous
reportfileCount
- files count in the newer reportfileCountDelta
- difference of files count between current and previous
reportcommentCount
- comments count in the newer reportcommentCountDelta
- difference of comments count between current and previous
reportpublic int compareTo(SloccountDiff o)
compareTo
in interface Comparable<SloccountDiff>
Comparable.compareTo(java.lang.Object)
public int getLineCount()
public int getLineCountDelta()
public int getCommentCount()
public int getCommentCountDelta()
public int getFileCount()
public int getFileCountDelta()
public String getLineCountString()
public String getLineCountDeltaString()
public String getCommentCountString()
public String getCommentCountDeltaString()
public String getFileCountString()
public String getFileCountDeltaString()
Copyright © 2016–2022. All rights reserved.