TC Java
2011 Version

gov.nih.nlm.nls.tc.Lib
Class Countf

java.lang.Object
  extended by gov.nih.nlm.nls.tc.Lib.Countf
Direct Known Subclasses:
Count1f, Count2f

public class Countf
extends java.lang.Object

This class provides count object with scores in float format.

History:

Version:
V-2011
Author:
NLM Lexical Systems Group

Field Summary
static int BY_COUNT1
           
static int BY_COUNT2
           
protected  java.lang.String name_
           
 
Constructor Summary
Countf()
          Create a Countf object (default).
Countf(java.lang.String name)
          Create a Count2f object by specifying the name.
 
Method Summary
 float GetCount(int index)
          Get the score of the Countf object by specifying index.
 java.lang.String GetName()
          Get the name of the Count1f object.
 void SetName(java.lang.String name)
          Set the name of the Count1f object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BY_COUNT1

public static final int BY_COUNT1
See Also:
Constant Field Values

BY_COUNT2

public static final int BY_COUNT2
See Also:
Constant Field Values

name_

protected java.lang.String name_
Constructor Detail

Countf

public Countf()
Create a Countf object (default).


Countf

public Countf(java.lang.String name)
Create a Count2f object by specifying the name.

Parameters:
name - name of the Count2f object
Method Detail

SetName

public void SetName(java.lang.String name)
Set the name of the Count1f object.

Parameters:
name - name of the Count1f object

GetName

public java.lang.String GetName()
Get the name of the Count1f object.

Returns:
name of the Count1f object

GetCount

public float GetCount(int index)
Get the score of the Countf object by specifying index.

Returns:
score of the Countf object

TC Java
2011 Version

Submit a bug or feature

Copyright © 2011 National Library of Medicine