public function indexOf( common_Object $object)
    {
        $returnValue = (int) 0;

        
    	$returnValue = -1;
        foreach($this->sequence as $index => $_object){
			if($object === $_object){
				return $index;
			}
		}
        

        return (int) $returnValue;
    }
public function indexOf( common_Object $object)
    {
        $returnValue = (int) 0;

        
    	$returnValue = -1;
        foreach($this->sequence as $index => $_object){
			if($object === $_object){
				return $index;
			}
		}
        

        return (int) $returnValue;
    }
public function indexOf ( common_Object $ object ) { $ returnValue = ( int ) 0 ; $ returnValue = - 1 ; foreach ( $ this -> sequence as $ index => $ _object ) { if ( $ object === $ _object ) { return $ index ; } } return ( int ) $ returnValue ; }
return the index of the node array at which the given node resides

@access public
@author Lionel Lecaque <lionel.lecaque@tudor.lu>
@param  Object object
@return int
return the index of the node array at which the given node resides