Package 

Class FlagChecker

    • Method Summary

      Modifier and Type Method Description
      static boolean hasFlag(int value, int flagToCheck) Helper method to check that a given value contains a specific flag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • hasFlag

         static boolean hasFlag(int value, int flagToCheck)

        Helper method to check that a given value contains a specific flag.

        Parameters:
        value - the value to check
        flagToCheck - the required flag