Пример #1
0
 /// <summary>
 /// DUMMY for static function hasSelector
 /// </summary>
 /// <param name="a">
 /// A <see cref="System.Int32"/>
 /// </param>
 /// <param name="b">
 /// A <see cref="System.Int32"/>
 /// </param>
 /// <returns>
 /// A <see cref="System.Boolean"/>
 /// </returns>
 public bool hasSel(int flagcollection, int SELECTOR)
 {
     return(TraceModifier.hasSelector(flagcollection, SELECTOR));
 }
Пример #2
0
 public static bool hasSelector(int flagcollection, int SELECTOR)
 {
     return(TraceModifier.getBinarySelector(flagcollection, SELECTOR) == SELECTOR);
     //return (((flagcollection-(flagcollection%SELECTOR))%(SELECTOR*2))>0);
     //=MOD(B$1-MOD(B$1,B2),B3)/B2
 }