Example usage for com.google.common.collect ImmutableSet hashCode

List of usage examples for com.google.common.collect ImmutableSet hashCode

Introduction

In this page you can find the example usage for com.google.common.collect ImmutableSet hashCode.

Prototype

@Override
    public int hashCode() 

Source Link

Usage

From source file:com.facebook.buck.test.external.ExternalTestRunEvent.java

public static Started started(boolean isRunAllTests, TestSelectorList testSelectorList,
        boolean shouldExplainTestSelectorList, ImmutableSet<String> targets) {
    return new Started(targets.hashCode(), isRunAllTests, testSelectorList, shouldExplainTestSelectorList,
            targets);/*from w w w  .  j a va 2 s. c om*/
}

From source file:org.gradle.api.internal.artifacts.ivyservice.resolveengine.excludes.ImmutableModuleExclusionSet.java

ImmutableModuleExclusionSet(ImmutableSet<AbstractModuleExclusion> delegate) {
    this.delegate = delegate;
    this.elements = delegate.toArray(new AbstractModuleExclusion[0]);
    this.hashCode = delegate.hashCode();
}