Class CompilerOperations


  • public final class CompilerOperations
    extends Object
    • Method Detail

      • longGreaterThanZero

        public static boolean longGreaterThanZero​(long value)
      • and

        public static boolean and​(boolean left,
                                  boolean right)
      • or

        public static boolean or​(boolean left,
                                 boolean right)
      • not

        public static boolean not​(boolean value)
      • lessThan

        public static boolean lessThan​(int left,
                                       int right)
      • greaterThan

        public static boolean greaterThan​(int left,
                                          int right)
      • in

        public static boolean in​(Object value,
                                 Set<?> set)
      • testMask

        public static boolean testMask​(@Nullable
                                       Block masks,
                                       int index)
      • optionalChannelToIntOrNegative

        public static int optionalChannelToIntOrNegative​(Optional<Integer> channel)
      • validateChannelsListLength

        public static void validateChannelsListLength​(List<Integer> channels,
                                                      int requiredSize)