rj.tools.jcsc
Class MethodMetric
java.lang.Object
|
+--rj.tools.jcsc.MethodMetric
- public class MethodMetric
- extends java.lang.Object
MethodMetric - a metric for a method
- Version:
- $Revision: 1.3 $
- Author:
- Ralph Jocham
|
Constructor Summary |
MethodMetric(int line,
int column,
java.lang.String name,
int ncssCount,
int ccnCount)
Creates a new MethodMetric instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodMetric
public MethodMetric(int line,
int column,
java.lang.String name,
int ncssCount,
int ccnCount)
- Creates a new
MethodMetric instance.
- Parameters:
line - an int value - line of methodcolumn - an int value - column of methodname - a String value - name of methodncssCount - an int value - ncssCount of methodccnCount - an int value - ccnCount of method
setMethodName
public void setMethodName(java.lang.String name)
setMethodName
- Parameters:
name - a String value
getMethodName
public java.lang.String getMethodName()
getMethodName
- Returns:
- a
String value
setNCSSCount
public void setNCSSCount(int count)
setNCSSCount
- Parameters:
count - an int value
getNCSSCount
public int getNCSSCount()
getNCSSCount
- Returns:
- an
int value
setCCNCount
public void setCCNCount(int count)
setCCNCount
- Parameters:
count - an int value
getCCNCount
public int getCCNCount()
getCCNCount
- Returns:
- an
int value
setLine
public void setLine(int line)
setLine
- Parameters:
line - an int value
getLine
public int getLine()
getLine
- Returns:
- an
int value
setColumn
public void setColumn(int column)
setColumn
- Parameters:
column - an int value
getColumn
public int getColumn()
getColumn
- Returns:
- an
int value
(c) 1999-2004 by Ralph Jocham (rjocham72@netscape.net)
JCSC is released under the terms of the GNU General Public License