FileDocCategorySizeDatePackage
MockEnum.javaAPI DocAndroid 1.5 API1582Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.tests.java.lang

MockEnum

public class MockEnum extends Object implements Serializable

Fields Summary
private static final long
serialVersionUID
String
str
int
i
Sample2
samEnum
Sample
larry
Constructors Summary
MockEnum()


     
        str = "test";
        i = 99;
        samEnum = Sample2.BLUE;
    
Methods Summary
public booleanequals(java.lang.Object arg0)

        if (!(arg0 instanceof MockEnum)) {
            return false;
        }
        MockEnum test = (MockEnum) arg0;
        if (str.equals(test.str) && i == test.i && samEnum == test.samEnum) {
            return true;
        }
        return false;