Android String Equal isEquals(String str1, String str2)

Here you can find the source of isEquals(String str1, String str2)

Description

is Equals

Declaration

public static boolean isEquals(String str1, String str2) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isEquals(String str1, String str2) {
        if (str1 == str2) {
            return true;
        }/*from www . j a va2  s  . co m*/
        if (str1 != null) {
            return str1.equals(str2);
        } else {
            return false;
        }
    }
}

Related

  1. equalsIgnoreCase(String str1, String str2)
  2. isEquals(String a, String b)
  3. equals(final CharSequence cs1, final CharSequence cs2)
  4. equals(String str1, String str2)
  5. equal(String s1, String s2)
  6. equals(String str1, String str2)
  7. equalsIgnoreCase(String str1, String str2)
  8. equalsIgnoreCase(String string1, String string2)
  9. equals(final String target1, final String target2)