|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nih.nlm.nls.tc.Lib.Countf gov.nih.nlm.nls.tc.Lib.Count2f
public class Count2f
This class provides count object with 2 scores in float format.
History:
Field Summary |
---|
Fields inherited from class gov.nih.nlm.nls.tc.Lib.Countf |
---|
BY_COUNT1, BY_COUNT2, name_ |
Constructor Summary | |
---|---|
Count2f()
Create a Count2f object (default). |
|
Count2f(float count1,
float count2)
Create a Count2f object by specifying two scores. |
|
Count2f(java.lang.String name)
Create a Count2f object by specifying the name. |
|
Count2f(java.lang.String name,
float count1,
float count2)
Create a Count2f object by specifying the name and two scores. |
Method Summary | |
---|---|
float |
GetCount(int index)
Get the count of the Count2f object by specifying index. |
float |
GetCount1()
Get the count 1 of the Count2f object. |
float |
GetCount2()
Get the count 2 of the Count2f object. |
void |
SetCount1(float count)
Set the count1 of the Count2f object. |
void |
SetCount2(float count)
Set the count2 of the Count2f object. |
Methods inherited from class gov.nih.nlm.nls.tc.Lib.Countf |
---|
GetName, SetName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Count2f()
public Count2f(java.lang.String name)
name
- name of the Count2f objectpublic Count2f(float count1, float count2)
count1
- count 1 of the Count2f objectcount2
- count 2 of the Count2f objectpublic Count2f(java.lang.String name, float count1, float count2)
name
- name of the Count2f objectcount1
- count 1 of the Count2f objectcount2
- count 2 of the Count2f objectMethod Detail |
---|
public void SetCount1(float count)
count
- count 1 of the Count2f objectpublic void SetCount2(float count)
count
- count 2 of the Count2f objectpublic float GetCount1()
public float GetCount2()
public float GetCount(int index)
GetCount
in class Countf
|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |