//查找身高在1.8米及以上的男生
// List<SsxlwdBean> boys = list.stream().filter(s->s.getGender() && s.getHeight() >= 1.8).collect(Collectors.toList());
java
xlseachitem = list.stream().filter(list->list.xlname.contains(Upstrquery)||list.xlbm.toLowerCase().contains(Upstrquery)||list.xlbm.contains(Upstrquery)).collect(Collectors.toList());
for (MilkspBean contact : datas) {
//姓名全匹配,姓名首字母简拼匹配,姓名全字母匹配
if (contact.getMilk_name().contains(str)
|| contact.getMilk_name().replace(" ", "").contains(str)
|| (contact.getMilk_zmjm()).contains(str)
|| (contact.getMilk_id()+"").contains(str)
|| (contact.getMilk_tm()).contains(str)
)
{
filterList.add(contact);
}
}