public static function complementOf(EnumSet $set) {
			$values = array();

			foreach (call_user_func(array($set->class, 'values')) as $v)
				if (!$set->contains($v))
					$values[] = $v;

			return new EnumSet($set->class, $values);
		}
public static function complementOf(EnumSet $set) {
			$values = array();

			foreach (call_user_func(array($set->class, 'values')) as $v)
				if (!$set->contains($v))
					$values[] = $v;

			return new EnumSet($set->class, $values);
		}
public static function complementOf ( EnumSet $ set ) { $ values = array ( ) ; foreach ( call_user_func ( array ( $ set -> class , 'values' ) ) as $ v ) if ( ! $ set -> contains ( $ v ) ) $ values [ ] = $ v ; return new EnumSet ( $ set -> class , $ values ) ; }
Creates a new EnumSet that is the complement of the given EnumSet. Or in other words, creates an EnumSet
containing all enum values that are not present in the given EnumSet.

@param  EnumSet $set the EnumSet to generate a complement for
@return EnumSet       	the resulting EnumSet
Creates a new EnumSet that is the complement of the given EnumSet . Or in other words creates an EnumSet containing all enum values that are not present in the given EnumSet .