예제 #1
0
 @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;
 }
예제 #2
0
 InputSummary(Map<String, String> bindingProperties, ModuleDef module) {
   this.bindingProperties = ImmutableMap.copyOf(bindingProperties);
   this.moduleLastModified = module.lastModified();
   this.resourcesLastModified = module.getResourceLastModified();
   this.filenameHash = module.getInputFilenameHash();
 }