public function contains($e) {
			if (!EnumUtil::isEnum($e, $this->class))
				throw new InvalidArgumentException(sprintf('Element must be an instance of %s.', $this->class));

			return ($this->entries & $this->universe[$e->ordinal()]) !== 0;
		}
public function contains($e) {
			if (!EnumUtil::isEnum($e, $this->class))
				throw new InvalidArgumentException(sprintf('Element must be an instance of %s.', $this->class));

			return ($this->entries & $this->universe[$e->ordinal()]) !== 0;
		}
public function contains ( $ e ) { if ( ! EnumUtil :: isEnum ( $ e , $ this -> class ) ) throw new InvalidArgumentException ( sprintf ( 'Element must be an instance of %s.' , $ this -> class ) ) ; return ( $ this -> entries & $ this -> universe [ $ e -> ordinal ( ) ] ) !== 0 ; }
Returns true if this set contains the given element.

@param  Enum $e the element to test for
@return boolean true if this set contains the element
Returns true if this set contains the given element .