/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 3.3.0 build: 3167 */ YUI.add('arraylist-filter', function(Y) { /** * Collection utilities beyond what is provided in the YUI core * @module collection * @submodule arraylist-filter */ /** * Adds filter method to ArrayList prototype * @class ArrayList~filter */ Y.mix(Y.ArrayList.prototype, { /** *
Create a new ArrayList (or augmenting class instance) from a subset * of items as determined by the boolean function passed as the * argument. The original ArrayList is unchanged.
* *The validator signature is validator( item )
.