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

MockEnum2

public class MockEnum2 extends Object implements Serializable

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


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

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