          * Executes a test function on each item and calculates number of successful tests.
          * @param callback The function to run on each item in the stream.
          * @return A number of successful tests.
+         * @example
+         * <pre>
+         *     var s:Stream = $(1, 2, 3);
+         *     var count:int = s.count(function(item:Number):Boolean
+         *     {
+         *        return item > 1;
+         *     });
+         *     trace(count);
+         *     //2
+         * </pre>
          */
         public function count(callback:Function):uint
         {

         * @param values An optional list of one or more comma-separated values to insert into the stream
         *               at the position specified in the startIndex parameter.
         * @return  A new stream containing the items that were removed from the original stream.
         */
        public function splice(startIndex:int, deleteCount:uint, ... values):Stream
        {

         *                 the starting point to the end of the stream. If endIndex is a negative number,
         *                 the ending point is specified from the end of the stream, where -1 is the last item.
         * @return A new stream that consists of a range of items from the original stream.
         * @example
         * <pre>
         *     var s:Stream = $(1, 2, 3);
         *     var c:Stream = s.slice(1, 2);
         *     trace(c);
         *     //Stream{2}
         * </pre>
         */
        public function slice(startIndex:int = 0, endIndex:int = 16777215):Stream
        {
