code: public static boolean compare(final String me, final String you)
     {
        // If both null or intern equals
        if (me == you)
           return true;
  
        // if me null and you are not
        if (me == null && you != null)
           return false;
  
        // me will not be null, test for equality
        return me.equals(you);
     }
docs: <p>
  Compare two strings.
  
  <p>
  Both or one of them may be null.
  
  @param me
  @param you
  
  @return true if object equals or intern ==, else false.