org.yccheok.numrecognition
Class Category

java.lang.Object
  extended by org.yccheok.numrecognition.Category

 class Category
extends java.lang.Object

Category of the number image.


Field Summary
static Category EIGHT
          Represents category number eight.
static Category FIVE
          Represents category number five.
static Category FOUR
          Represents category number four.
private  java.lang.String name
          Name of this category.
static Category NINE
          Represents category number nine.
static int NUM_OF_CATEGORY
          Total number of different categories within the whole system.
static Category ONE
          Represents category number one.
static Category SEVEN
          Represents category number seven.
static Category SIX
          Represents category number six.
static Category THREE
          Represents category number three.
static Category TWO
          Represents category number two.
static Category ZERO
          Represents category number zero.
 
Constructor Summary
private Category(java.lang.String name)
          Prevent client from extending or creating this class.
 
Method Summary
 java.lang.String toString()
          Returns the string representation of this category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO

public static final Category ZERO
Represents category number zero.


ONE

public static final Category ONE
Represents category number one.


TWO

public static final Category TWO
Represents category number two.


THREE

public static final Category THREE
Represents category number three.


FOUR

public static final Category FOUR
Represents category number four.


FIVE

public static final Category FIVE
Represents category number five.


SIX

public static final Category SIX
Represents category number six.


SEVEN

public static final Category SEVEN
Represents category number seven.


EIGHT

public static final Category EIGHT
Represents category number eight.


NINE

public static final Category NINE
Represents category number nine.


NUM_OF_CATEGORY

public static final int NUM_OF_CATEGORY
Total number of different categories within the whole system.

See Also:
Constant Field Values

name

private java.lang.String name
Name of this category.

Constructor Detail

Category

private Category(java.lang.String name)
Prevent client from extending or creating this class.

Parameters:
name - Name of this category.
Method Detail

toString

public java.lang.String toString()
Returns the string representation of this category.

Overrides:
toString in class java.lang.Object
Returns:
The string representation of this category.