Code example for ImmutableMap

Methods: equals

0
 
    KarmaRunSettings that = (KarmaRunSettings)o;
 
    return  myPassParentEnvVars == that.myPassParentEnvVars &&
            myConfigPath.equals(that.myConfigPath) &&
            myEnvVars.equals(that.myEnvVars) &&
            myBrowsers.equals(that.myBrowsers);
  } 
 
  @Override 
  public int hashCode() { 
    int result = myConfigPath.hashCode();
    result = 31 * result + myEnvVars.hashCode();
    result = 31 * result + (myPassParentEnvVars ? 1 : 0);
    result = 31 * result + myBrowsers.hashCode();
    return result;
  } 
 
  public static class Builder { 
 
Experience pair programming with AI  Get Codota for Java