Java Array Contain arrayContains(Object[] array, Object el)

Here you can find the source of arrayContains(Object[] array, Object el)

Description

array Contains

License

Creative Commons License

Declaration

public static boolean arrayContains(Object[] array, Object el) 

Method Source Code

//package com.java2s;
//License from project: Creative Commons License 

import java.util.Arrays;

public class Main {
    public static boolean arrayContains(Object[] array, Object el) {
        return Arrays.asList(array).contains(el);
    }//from  w  w  w  . j  av a  2 s .c o m
}

Related

  1. arrayContains(int[] arr, int ii)
  2. arrayContains(int[] array, int value)
  3. arrayContains(int[] array, int value)
  4. arrayContains(Object obj, Object[] array)
  5. arrayContains(Object[] a, Object ob)
  6. arrayContains(Object[] array, Object el)
  7. arrayContains(Object[] array, Object element)
  8. ArrayContains(Object[] array, Object obj)
  9. arrayContains(Object[] array, Object object)