Java List Contain contains(List objects, Object object)

Here you can find the source of contains(List objects, Object object)

Description

contains

License

Open Source License

Declaration

public static boolean contains(List<?> objects, Object object) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.List;

public class Main {
    public static boolean contains(List<?> objects, Object object) {
        boolean contains = objects.contains(object);
        return contains;
    }/*  ww  w  .  j  a va  2s . c o m*/
}

Related

  1. contains(int[] subject, int[][] list)
  2. contains(List aList, Object anObj)
  3. contains(List list, Object obj)
  4. contains(List lsttor, Object val)
  5. contains(List list, Object element, int begin, int end)
  6. contains(List listOfArrays, A[] array)
  7. contains(List list, int[] arr)
  8. contains(List list, List> listOfLists)
  9. contains(List list, String str, boolean bcaseSensitive)