          *     //prints ["name1", "name2"]
          * </pre>
          */
-        public static function from(object:*, map:Function = null):Stream
+        public static function from(object:*, callback:Function = null):Stream
         {
             var result:Stream;
             if (object == null || object === undefined)


        /**
         * Creates Stream object from iterable object
         * @param object object used as source for a Stream
         * @return created Stream object
         * @example
         * <pre>

                result = result.sortOn("first");
            }

            return callback == null ? result : result.map(callback);
        }
    }
}
