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

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

Introduction

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

Prototype

static <E> Set<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) 

Source Link

Document

Returns an unmodifiable set containing nine elements.

Usage

From source file:org.gradle.initialization.DefaultGradleApiSpecProvider.java

@Override
public Set<String> getExportedPackages() {
    return ImmutableSet.of("org.gradle", "org.apache.tools.ant", "groovy", "org.codehaus.groovy",
            "groovyjarjarantlr", "org.slf4j", "org.apache.commons.logging", "org.apache.log4j", "javax.inject");
}