Home / Function/ equals() — spring-boot Function Reference

equals() — spring-boot Function Reference

Architecture documentation for the equals() function in ImageReference.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d59d57fe_e90e_fdc9_79e6_7e82665fba5c["equals()"]
  8961244b_38b5_6707_a9a9_2a8cc9e8a67f["create()"]
  8961244b_38b5_6707_a9a9_2a8cc9e8a67f -->|calls| d59d57fe_e90e_fdc9_79e6_7e82665fba5c
  c3a9a7c5_d64d_f7b5_8e54_2fd855b9e6c9["getServerUrl()"]
  c3a9a7c5_d64d_f7b5_8e54_2fd855b9e6c9 -->|calls| d59d57fe_e90e_fdc9_79e6_7e82665fba5c
  7dcc8f85_39eb_99dc_9385_7e5a64ca01ea["getAuthConfigEntry()"]
  7dcc8f85_39eb_99dc_9385_7e5a64ca01ea -->|calls| d59d57fe_e90e_fdc9_79e6_7e82665fba5c
  2f0407ff_f409_0802_0509_4fddff506ae4["isLowerCase()"]
  2f0407ff_f409_0802_0509_4fddff506ae4 -->|calls| d59d57fe_e90e_fdc9_79e6_7e82665fba5c
  d1757773_1e32_5f99_15ef_5bbc9a9d8dd2["buildUrl()"]
  d1757773_1e32_5f99_15ef_5bbc9a9d8dd2 -->|calls| d59d57fe_e90e_fdc9_79e6_7e82665fba5c
  a1ee3ef2_1dd0_7394_2e65_dc54bedc20dc["onUpdate()"]
  a1ee3ef2_1dd0_7394_2e65_dc54bedc20dc -->|calls| d59d57fe_e90e_fdc9_79e6_7e82665fba5c
  style d59d57fe_e90e_fdc9_79e6_7e82665fba5c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type/ImageReference.java lines 94–108

	@Override
	public boolean equals(@Nullable Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null || getClass() != obj.getClass()) {
			return false;
		}
		ImageReference other = (ImageReference) obj;
		boolean result = true;
		result = result && this.name.equals(other.name);
		result = result && ObjectUtils.nullSafeEquals(this.tag, other.tag);
		result = result && ObjectUtils.nullSafeEquals(this.digest, other.digest);
		return result;
	}

Subdomains

Frequently Asked Questions

What does equals() do?
equals() is a function in the spring-boot codebase.
What calls equals()?
equals() is called by 6 function(s): buildUrl, create, getAuthConfigEntry, getServerUrl, isLowerCase, onUpdate.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free