junitx.ddtunit.resources
Class SimpleTypeSafeEnum

java.lang.Object
  extended by junitx.ddtunit.resources.SimpleTypeSafeEnum

public class SimpleTypeSafeEnum
extends Object

Class represents a typesafe enumeration class example for test purposes.

Author:
jg

Field Summary
static SimpleTypeSafeEnum FIRST_ENUM
           
static SimpleTypeSafeEnum SECOND_ENUM
           
static SimpleTypeSafeEnum THIRD_ENUM
           
 
Method Summary
 boolean equals(Object o)
          Returns true if this SimpleTypeSafeEnum is the same as the o argument.
 int hashCode()
          Override hashCode.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FIRST_ENUM

public static final SimpleTypeSafeEnum FIRST_ENUM

SECOND_ENUM

public static final SimpleTypeSafeEnum SECOND_ENUM

THIRD_ENUM

public static final SimpleTypeSafeEnum THIRD_ENUM
Method Detail

equals

public boolean equals(Object o)
Returns true if this SimpleTypeSafeEnum is the same as the o argument.

Overrides:
equals in class Object
Returns:
true if this SimpleTypeSafeEnum is the same as the o argument.

hashCode

public int hashCode()
Override hashCode.

Overrides:
hashCode in class Object
Returns:
the Objects hashcode.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011. All Rights Reserved.