Class Functions

    • Method Detail

      • arrayContains

        public static boolean arrayContains​(Object[] arr,
                                            Object element)
        Returns true if the given arr contains the given element.

        Always returns false if the given arr is null.

      • arrayContainsAll

        public static boolean arrayContainsAll​(Object[] arr,
                                               Object... elements)
        Returns true if the given arr contains all the given elements.

        Always returns false if the given arr is null.

      • arrayContainsAny

        public static boolean arrayContainsAny​(Object[] arr,
                                               Object... elements)
        Returns true if the given arr contains one of the given elements.

        Always returns false if the given arr is null.

      • arrayContainsNone

        public static boolean arrayContainsNone​(Object[] arr,
                                                Object... elements)
        Returns true if the given arr contains none of the given elements.

        Always returns false if the given arr is null.