Code example for Map

Methods: equals

0
        if (this == o) return true;
        if (getClass() != o.getClass()) return false;
 
        ShadowBundle that = (ShadowBundle) o;
 
        if (map != null ? !map.equals(that.map) : that.map != null) return false;
 
        return true; 
    } 
 
    @Override @Implementation 
    public int hashCode() { 
        return map != null ? map.hashCode() : 0;
    } 
 
    @Override @Implementation 
    public String toString() {
        return map.toString();
    } 
}