Class BitFlagSetPredicate.Builder

    • Method Detail

      • mustExcludeAllOf

        public BitFlagSetPredicate.Builder mustExcludeAllOf​(long flags)
        Adds a constraint which checks whether a flag to check excludes all of the given flags.
        Parameters:
        flags - List of flags to exclude.
        Returns:
        This builder instance for chaining method calls.
      • mustExcludeAllOf

        public BitFlagSetPredicate.Builder mustExcludeAllOf​(long... flags)
        Adds a constraint which checks whether a flag to check excludes all of the given flags.
        Parameters:
        flags - List of flags to exclude.
        Returns:
        This builder instance for chaining method calls.
      • mustExcludeSomeOf

        public BitFlagSetPredicate.Builder mustExcludeSomeOf​(long flags)
        Adds a constraint which checks whether a flag to check excludes some of the given flags.
        Parameters:
        flags - List of flags to exclude.
        Returns:
        This builder instance for chaining method calls.
      • mustExcludeSomeOf

        public BitFlagSetPredicate.Builder mustExcludeSomeOf​(long... flags)
        Adds a constraint which checks whether a flag to check excludes some of the given flags.
        Parameters:
        flags - List of flags to exclude.
        Returns:
        This builder instance for chaining method calls.
      • mustIncludeAllOf

        public BitFlagSetPredicate.Builder mustIncludeAllOf​(long flags)
        Adds a constraint which checks whether a flag to check includes all of the given flags.
        Parameters:
        flags - List of flags to include.
        Returns:
        This builder instance for chaining method calls.
      • mustIncludeAllOf

        public BitFlagSetPredicate.Builder mustIncludeAllOf​(long... flags)
        Adds a constraint which checks whether a flag to check includes all of the given flags
        Parameters:
        flags - List of flags to include.
        Returns:
        This builder instance for chaining method calls.
      • mustIncludeSomeOf

        public BitFlagSetPredicate.Builder mustIncludeSomeOf​(long... flags)
        Adds a constraint which checks whether a flag to check includes some of the given flags
        Parameters:
        flags - List of flags to include.
        Returns:
        This builder instance for chaining method calls.
      • mustIncludeSomeOf

        public BitFlagSetPredicate.Builder mustIncludeSomeOf​(long flags)
        Adds a constraint which checks whether a flag to check includes some of the given flags
        Parameters:
        flags - List of flags to include.
        Returns:
        This builder instance for chaining method calls.