List of usage examples for org.apache.commons.lang3 StringUtils equalsIgnoreCase
public static boolean equalsIgnoreCase(final CharSequence str1, final CharSequence str2)
Compares two CharSequences, returning true if they represent equal sequences of characters, ignoring case.
null s are handled without exceptions.
From source file:com.inkubator.hrm.web.search.RecruitReqHistorySearchParameter.java
public String getFormCode() { if (StringUtils.equalsIgnoreCase(getKeyParam(), "formCode")) { formCode = getParameter();//from w ww. j a va 2 s . c om } else { formCode = null; } return formCode; }
From source file:com.inkubator.hrm.web.search.RecruitMppApplyDetailSearchParameter.java
public String getJabatanCode() { if (StringUtils.equalsIgnoreCase(getKeyParam(), "jabatanCode")) { jabatanCode = getParameter();//from w ww. j a v a 2 s.com } else { jabatanCode = null; } return jabatanCode; }
From source file:com.inkubator.hrm.web.search.EmpRotasiSearchParameter.java
public String getNIK() { if (StringUtils.equalsIgnoreCase(getKeyParam(), "NIK")) { NIK = getParameter();// w w w . j av a2 s .c o m } else { NIK = null; } return NIK; }
From source file:fr.scc.elo.model.elo.EloType.java
public static EloType fromNameNoThrow(String eloType) { for (EloType elo : EloType.values()) { if (StringUtils.equalsIgnoreCase(eloType, elo.toString())) { return elo; }//from www. j a v a 2s . c o m } return null; }
From source file:com.inkubator.hrm.web.search.EmpDataSearchParameter.java
public String getNIK() { if (StringUtils.equalsIgnoreCase(getKeyParam(), "NIK")) { NIK = getParameter();// ww w . jav a 2 s . c om } else { NIK = null; } return NIK; }
From source file:com.inkubator.hrm.web.search.RecruitMppApplySearchParameter.java
public String getRecruitMppApplyName() { if (StringUtils.equalsIgnoreCase(getKeyParam(), "recruitMppApplyName")) { recruitMppApplyName = getParameter(); } else {/* w w w .j av a 2 s. co m*/ recruitMppApplyName = null; } return recruitMppApplyName; }
From source file:com.inkubator.hrm.web.search.PayComponentDataExceptionSearchParameter.java
public String getEmpData() { if (StringUtils.equalsIgnoreCase(getKeyParam(), "empData")) { empData = getParameter();//from w ww. j a v a 2 s . c om } else { empData = null; } return empData; }
From source file:com.u2apple.tool.filter.UnnormalDeviceFilter.java
@Override public List<AndroidDeviceRanking> filter(List<AndroidDeviceRanking> androidDevices) { return androidDevices.stream().filter( device -> StringUtils.equalsIgnoreCase(device.getRoProductBrand(), device.getRoProductModel())) .collect(Collectors.toList()); }
From source file:com.jjw.cloudymvc.web.mvc.Version.java
/** * Returns the enumeration for the given API version name * * @param versionName The name of the API version * @return The enumeration for this API version name or null if none exists *//*from www .j a va 2s . c om*/ public static Version fromVersionName(String versionName) { if (StringUtils.isEmpty(versionName)) { return null; } for (Version elementApiVersion : Version.values()) { if (StringUtils.equalsIgnoreCase(versionName, elementApiVersion.versionName)) { return elementApiVersion; } } return null; }
From source file:com.qcadoo.mes.costCalculation.constants.SourceOfOperationCosts.java
public static SourceOfOperationCosts parseString(final String rawStringValue) { for (SourceOfOperationCosts sourceOfOperationCosts : values()) { if (StringUtils.equalsIgnoreCase(rawStringValue, sourceOfOperationCosts.getStringValue())) { return sourceOfOperationCosts; }//from w w w . j a v a 2s .co m } throw new IllegalArgumentException( String.format("Cannot parse SourceOfOperationCosts from '%s'", rawStringValue)); }