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

equals() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  53a1057f_c4bb_dc6e_f36b_89632e46d0db["equals()"]
  b5bafe2b_8466_307b_20a9_646b164a18ad["toLegacyString()"]
  b5bafe2b_8466_307b_20a9_646b164a18ad -->|calls| 53a1057f_c4bb_dc6e_f36b_89632e46d0db
  e3f689ee_2679_0fb5_42e7_15065f6d67d8["getDomainOrDefault()"]
  e3f689ee_2679_0fb5_42e7_15065f6d67d8 -->|calls| 53a1057f_c4bb_dc6e_f36b_89632e46d0db
  10cebd18_f92b_93f7_9f93_fb1433a01e79["getNameWithDefaultPath()"]
  10cebd18_f92b_93f7_9f93_fb1433a01e79 -->|calls| 53a1057f_c4bb_dc6e_f36b_89632e46d0db
  b8a0ae88_f49a_e969_70ba_01e8e52e746b["BootBuildImage()"]
  b8a0ae88_f49a_e969_70ba_01e8e52e746b -->|calls| 53a1057f_c4bb_dc6e_f36b_89632e46d0db
  style 53a1057f_c4bb_dc6e_f36b_89632e46d0db 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/ImageName.java lines 69–82

	@Override
	public boolean equals(@Nullable Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null || getClass() != obj.getClass()) {
			return false;
		}
		ImageName other = (ImageName) obj;
		boolean result = true;
		result = result && this.domain.equals(other.domain);
		result = result && this.name.equals(other.name);
		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 4 function(s): BootBuildImage, getDomainOrDefault, getNameWithDefaultPath, toLegacyString.

Analyze Your Own Codebase

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

Try Supermodel Free