Result.Status - Deque University

文章推薦指數: 80 %
投票人數:10人

All Implemented Interfaces: java.io.Serializable, java.lang.Comparable. Enclosing class: Result. public static enum Result. Skipnavigationlinks Package Class Tree Deprecated Index Help Prev Class Next Class Frames No Frames All Classes Summary:  Nested |  EnumConstants |  Field |  Method Detail:  EnumConstants |  Field |  Method java.lang.Object java.lang.Enum com.deque.worldspace.Result.Status AllImplementedInterfaces: java.io.Serializable,java.lang.Comparable Enclosingclass: Result publicstaticenumResult.Status extendsjava.lang.Enum Representsthestatusofatest. EnumConstantSummary EnumConstants  EnumConstantandDescription FAIL Accessibilitytestsfailedandviolationsfound. PASS Apassingtest. WARN NoAccessibilityViolationsfound,butsomebestpracticesissues. MethodSummary AllMethods StaticMethods ConcreteMethods  ModifierandType MethodandDescription staticResult.Status valueOf(java.lang.String name) Returnstheenumconstantofthistypewiththespecifiedname. staticResult.Status[] values() Returnsanarraycontainingtheconstantsofthisenumtype,in theordertheyaredeclared. Methodsinheritedfromclass java.lang.Enum clone,compareTo,equals,finalize,getDeclaringClass,hashCode,name,ordinal,toString,valueOf Methodsinheritedfromclass java.lang.Object getClass,notify,notifyAll,wait,wait,wait EnumConstantDetail PASS publicstaticfinal Result.StatusPASS Apassingtest.Noviolations. WARN publicstaticfinal Result.StatusWARN NoAccessibilityViolationsfound,butsomebestpracticesissues. FAIL publicstaticfinal Result.StatusFAIL Accessibilitytestsfailedandviolationsfound. MethodDetail values publicstatic Result.Status[] values() Returnsanarraycontainingtheconstantsofthisenumtype,in theordertheyaredeclared.Thismethodmaybeusedtoiterate overtheconstantsasfollows: for(Result.Statusc:Result.Status.values())  System.out.println(c); Returns: anarraycontainingtheconstantsofthisenumtype,intheordertheyaredeclared valueOf publicstatic Result.Status valueOf(java.lang.String name) Returnstheenumconstantofthistypewiththespecifiedname. Thestringmustmatchexactlyanidentifierusedtodeclarean enumconstantinthistype.(Extraneouswhitespacecharactersare notpermitted.) Parameters: name-thenameoftheenumconstanttobereturned. Returns: theenumconstantwiththespecifiedname Throws: java.lang.IllegalArgumentException-ifthisenumtypehasnoconstantwiththespecifiedname java.lang.NullPointerException-iftheargumentisnull Skipnavigationlinks Package Class Tree Deprecated Index Help Prev Class Next Class Frames No Frames All Classes Summary:  Nested |  EnumConstants |  Field |  Method Detail:  EnumConstants |  Field |  Method



請為這篇文章評分?