1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Array: small documentation fix.

This commit is contained in:
jules 2012-10-07 10:53:19 +01:00
parent d5df89190c
commit d0974a537d

View file

@ -220,7 +220,7 @@ public:
/** Returns one of the elements in the array.
If the index passed in is beyond the range of valid elements, this
will return zero.
will return a default value.
If you're certain that the index will always be a valid element, you
can call getUnchecked() instead, which is faster.
@ -267,7 +267,7 @@ public:
return data.elements [index];
}
/** Returns the first element in the array, or 0 if the array is empty.
/** Returns the first element in the array, or a default value if the array is empty.
@see operator[], getUnchecked, getLast
*/
@ -278,7 +278,7 @@ public:
: ElementType();
}
/** Returns the last element in the array, or 0 if the array is empty.
/** Returns the last element in the array, or a default value if the array is empty.
@see operator[], getUnchecked, getFirst
*/