nd4j-common/src/main/java/org/nd4j/util/StringUtils.java
public static boolean equalsIgnoreCase(String s1, String s2) {
        Preconditions.checkNotNull(s1);
        // don't check non-null against s2 to make the semantics same as
        // s1.equals(s2)
        return s1.equalsIgnoreCase(s2);
    }
public static boolean equalsIgnoreCase(String s1, String s2) {
        Preconditions.checkNotNull(s1);
        // don't check non-null against s2 to make the semantics same as
        // s1.equals(s2)
        return s1.equalsIgnoreCase(s2);
    }
public static boolean equalsIgnoreCase ( String s1 , String s2 ) { Preconditions . checkNotNull ( s1 ) ; // don't check non-null against s2 to make the semantics same as // s1.equals(s2) return s1 . equalsIgnoreCase ( s2 ) ; }
Compare strings locale-freely by using String#equalsIgnoreCase.

@param s1  Non-null string to be converted
@param s2  string to be converted
@return     the str, converted to uppercase.
Compare strings locale - freely by using String#equalsIgnoreCase .