edu.northwestern.at.wordhoard.swing.calculator.modelutils
Class CountResult

java.lang.Object
  extended by edu.northwestern.at.wordhoard.swing.calculator.modelutils.CountResult

public class CountResult
extends java.lang.Object

Count result.


Field Summary
 int count
          The word count.
 Spelling word
          The word.
 java.lang.Long work
          The work.
 int workCount
          The work or work part count.
 java.lang.Long workPart
          The work part.
 java.lang.String workTag
          The work tag.
 
Constructor Summary
CountResult()
          Create empty count result object.
CountResult(Spelling word, int count)
          Create count result object.
CountResult(Spelling word, int count, int workCount)
          Create count result object.
CountResult(Spelling word, int count, java.lang.Long work)
          Create count result object.
CountResult(Spelling word, int count, java.lang.Long workPart, java.lang.Long work)
          Create count result object.
CountResult(Spelling word, int count, java.lang.String workTag)
          Create count result object.
CountResult(java.lang.String word, byte charset, int count)
          Create count result object.
CountResult(java.lang.String word, byte charset, long count)
          Create count result object.
CountResult(java.lang.String word, int count, int workCount)
          Create count result object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

word

public Spelling word
The word.


count

public int count
The word count.


workPart

public java.lang.Long workPart
The work part.


work

public java.lang.Long work
The work.


workTag

public java.lang.String workTag
The work tag.


workCount

public int workCount
The work or work part count.

Constructor Detail

CountResult

public CountResult()
Create empty count result object.


CountResult

public CountResult(Spelling word,
                   int count)
Create count result object.

Parameters:
word - The word.
count - The count of the word.

CountResult

public CountResult(Spelling word,
                   int count,
                   java.lang.Long work)
Create count result object.

Parameters:
word - The word.
count - The count of the word.
work - The work.

CountResult

public CountResult(Spelling word,
                   int count,
                   java.lang.String workTag)
Create count result object.

Parameters:
word - The word.
count - The count of the word.
workTag - The work tag.

CountResult

public CountResult(Spelling word,
                   int count,
                   int workCount)
Create count result object.

Parameters:
word - The word.
count - The count of the word.
workCount - The work count.

CountResult

public CountResult(java.lang.String word,
                   int count,
                   int workCount)
Create count result object.

Parameters:
word - The word string.
count - The count of the word.
workCount - The work count.

CountResult

public CountResult(Spelling word,
                   int count,
                   java.lang.Long workPart,
                   java.lang.Long work)
Create count result object.

Parameters:
word - The word.
count - The count of the word.
workPart - The work part.
work - The work.

CountResult

public CountResult(java.lang.String word,
                   byte charset,
                   int count)
Create count result object.

Parameters:
word - The word string.
count - The count of the word.

CountResult

public CountResult(java.lang.String word,
                   byte charset,
                   long count)
Create count result object.

Parameters:
word - The word string.
count - The count of the word.