All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rapid7.container.analyzer.docker.model.image.ImageId Maven / Gradle / Ivy

There is a newer version: 0.2.26
Show newest version
package com.rapid7.container.analyzer.docker.model.image;

import com.rapid7.container.analyzer.docker.model.HashId;
import com.rapid7.container.analyzer.docker.model.HashType;

public class ImageId extends HashId {

  public ImageId(String id, HashType type) {
    super(id, type);
  }
  
  public ImageId(String idStr) {
    super(idStr);
  }

  @Override
  public boolean equals(Object obj) {
    if (obj == this)
      return true;
    else if (!(obj instanceof ImageId))
      return false;
    else
      return super.equals(obj);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy