Class Primitives.Booleans

  • Enclosing class:
    Primitives

    public static final class Primitives.Booleans
    extends Object
    The Class Booleans.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void invert​(boolean[] a)
      Inverts the element from fromIndex to toIndex: set it to true if it's false, or set it to false if it's true.
      static void invert​(boolean[] a, int fromIndex, int toIndex)
      Inverts the element from fromIndex to toIndex: set it to true if it's false, or set it to false if it's true.
    • Method Detail

      • invert

        public static void invert​(boolean[] a)
        Inverts the element from fromIndex to toIndex: set it to true if it's false, or set it to false if it's true.
        Parameters:
        a -
      • invert

        public static void invert​(boolean[] a,
                                  int fromIndex,
                                  int toIndex)
        Inverts the element from fromIndex to toIndex: set it to true if it's false, or set it to false if it's true.
        Parameters:
        a -
        fromIndex -
        toIndex -