public function intersect(ICollection $coll){
		
		//array_intersect does not work on \Closure objects
	
		$arr = array();
		$coll->copyTo($arr);
		
		$ret = array();
		
		foreach($this->_Arr as $outerItem){
			foreach($arr as $innerItem){
				
				if($innerItem === $outerItem){
					$ret[] = $outerItem;
					break;
				}
				
			}
		}
		
		return new static($ret);
		
	}
public function intersect(ICollection $coll){
		
		//array_intersect does not work on \Closure objects
	
		$arr = array();
		$coll->copyTo($arr);
		
		$ret = array();
		
		foreach($this->_Arr as $outerItem){
			foreach($arr as $innerItem){
				
				if($innerItem === $outerItem){
					$ret[] = $outerItem;
					break;
				}
				
			}
		}
		
		return new static($ret);
		
	}
public function intersect ( ICollection $ coll ) { //array_intersect does not work on \Closure objects $ arr = array ( ) ; $ coll -> copyTo ( $ arr ) ; $ ret = array ( ) ; foreach ( $ this -> _Arr as $ outerItem ) { foreach ( $ arr as $ innerItem ) { if ( $ innerItem === $ outerItem ) { $ ret [ ] = $ outerItem ; break ; } } } return new static ( $ ret ) ; }
Returns a new list with each element existing in
this list and a given ICollection
@param \Cola\ICollection $coll
@return \static
Returns a new list with each element existing in this list and a given ICollection