com.rapid7.container.analyzer.docker.model.image.PackageId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-image-analyzer Show documentation
Show all versions of docker-image-analyzer Show documentation
Extracts, parses, and analyzes Docker images into Java objects with JSON mappings.
package com.rapid7.container.analyzer.docker.model.image;
public class PackageId extends TypeSafeLongId {
public PackageId(long id) {
super(id);
}
@Override
public int hashCode() {
return super.hashCode();
}
@Override
public boolean equals(Object obj) {
if (obj == this)
return true;
else if (obj instanceof PackageId)
return super.equals(obj);
else
return false;
}
}