|
55 | 55 | <Koan name="toStringIsTestedForNullWhenInvokedImplicitly" |
56 | 56 | lesson="String concatenation implicitly invokes toString on Objects, unless they are null. Notice no NullPointerException is thrown."/> |
57 | 57 | </Suite> |
| 58 | + <Suite class="AboutCasting"> |
| 59 | + <Koan name="longPlusInt" /> |
| 60 | + <Koan name="forceIntTypecast" /> |
| 61 | + <Koan name="implicitTypecast" /> |
| 62 | + <Koan name="downCastWithInerhitance" /> |
| 63 | + <Koan name="downCastAndPolymophism" /> |
| 64 | + <Koan name="upCastWithInheritance" /> |
| 65 | + <Koan name="upCastAndPolymophism" /> |
| 66 | + <Koan name="complicatedCast" /> |
| 67 | + <Koan name="complicatedCastWithInterface" /> |
| 68 | + </Suite> |
| 69 | + <Suite class="AboutInheritance"> |
| 70 | + <Koan name="differenceBetweenOverloadingAndOverriding" /> |
| 71 | + <Koan name="overridenMethodsMayReturnSubtype" |
| 72 | + lesson="An overridden method may return a subtype of the return type for the method being overridden. Look at the javadoc for java.util.Collection or java.util.List - it will reveal how to eliminate this type cast."/> |
| 73 | + </Suite> |
| 74 | + <Suite class="AboutConstructors"> |
| 75 | + <Koan name="simpleConstructorOrder" /> |
| 76 | + <Koan name="complexConstructorOrder" /> |
| 77 | + </Suite> |
| 78 | + <Suite class="AboutMethodPreference"> |
| 79 | + <Koan name="methodPreferenceInt" /> |
| 80 | + <Koan name="methodPreferenceInteger" /> |
| 81 | + <Koan name="methodPreferenceLong" /> |
| 82 | + <Koan name="methodPreferenceBoxedLong" /> |
| 83 | + <Koan name="methodPreferenceDouble" /> |
| 84 | + <Koan name="methodPreferenceMore" /> |
| 85 | + </Suite> |
| 86 | + <Suite class="AboutOperators"> |
| 87 | + <Koan name="plusPlusVariablePlusPlus" /> |
| 88 | + <Koan name="shortCircuit" /> |
| 89 | + <Koan name="fullAnd" /> |
| 90 | + <Koan name="shortCircuitAnd" /> |
| 91 | + <Koan name="aboutXOR" /> |
| 92 | + <Koan name="dontMistakeEqualsForEqualsEquals" /> |
| 93 | + </Suite> |
58 | 94 | <Suite class="AboutArrays"> |
59 | 95 | <Koan name="arraysDoNotConsiderElementsWhenEvaluatingEquality" |
60 | 96 | lesson="Arrays utilize reference equality, they do not consider elements when determining equality."/> |
|
75 | 111 | <Koan name="arrayLengthCanBeChecked" |
76 | 112 | lesson="It is often necessary to check the length of an array to ensure an index is valid. This is easy with the array's length property."/> |
77 | 113 | </Suite> |
| 114 | + <Suite class="AboutPrimitives"> |
| 115 | + <Koan name="byteSize" /> |
| 116 | + <Koan name="shortSize" /> |
| 117 | + <Koan name="integerSize" /> |
| 118 | + <Koan name="longSize" /> |
| 119 | + <Koan name="charSizeAndValue" /> |
| 120 | + <Koan name="floatSize" /> |
| 121 | + <Koan name="doubleSize" /> |
| 122 | + </Suite> |
78 | 123 | </Package> |
79 | 124 | <Package pkg="intermediate" name="Intermediate"> |
80 | 125 | <Suite class="AboutAutoboxing"> |
|
0 commit comments