Package com.facebook.buck.rules.keys
Class DefaultRuleKeyScopedHasher.DefaultContainerScope
- java.lang.Object
-
- com.facebook.buck.rules.keys.DefaultRuleKeyScopedHasher.DefaultContainerScope
-
- All Implemented Interfaces:
RuleKeyScopedHasher.ContainerScope
,Scope
,AutoCloseable
- Enclosing class:
- DefaultRuleKeyScopedHasher<HASH>
public static class DefaultRuleKeyScopedHasher.DefaultContainerScope extends Object implements RuleKeyScopedHasher.ContainerScope
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Hashes the container iff non-empty (i.e.Scope
elementScope()
Increases element count if anything gets hashed during the element scope.
-
-
-
Method Detail
-
elementScope
public Scope elementScope()
Increases element count if anything gets hashed during the element scope.- Specified by:
elementScope
in interfaceRuleKeyScopedHasher.ContainerScope
-
close
public void close()
Hashes the container iff non-empty (i.e. if any element gets hashed during this scope).- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceScope
-
-