Here you can find the source of equalsIgnoreCase(String str1, String str2)
public static boolean equalsIgnoreCase(String str1, String str2)
//package com.java2s; public class Main { public static boolean equalsIgnoreCase(String str1, String str2) { return str1 != null && str1.equalsIgnoreCase(str2); }/* ww w.j ava 2s .c om*/ }