@Override public boolean equals(Object obj) { if (obj instanceof InputSummary) { InputSummary other = (InputSummary) obj; return bindingProperties.equals(other.bindingProperties) && moduleLastModified == other.moduleLastModified && resourcesLastModified == other.resourcesLastModified && filenameHash == other.filenameHash; } return false; }
InputSummary(Map<String, String> bindingProperties, ModuleDef module) { this.bindingProperties = ImmutableMap.copyOf(bindingProperties); this.moduleLastModified = module.lastModified(); this.resourcesLastModified = module.getResourceLastModified(); this.filenameHash = module.getInputFilenameHash(); }