List of usage examples for com.google.common.collect ImmutableSet of
@SuppressWarnings("unchecked") public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5)
From source file:org.atlasapi.persistence.content.query.QueryConcernsTypeDecider.java
public static boolean concernsVersionOrBelow(final ContentQuery query) { return concernsType(query, ImmutableSet.of(Version.class, Location.class, Broadcast.class, Encoding.class, Policy.class)); }
From source file:io.prestosql.sql.planner.iterative.rule.DesugarLambdaExpression.java
@Override public Set<Rule<?>> rules() { return ImmutableSet.of(projectExpressionRewrite(), aggregationExpressionRewrite(), filterExpressionRewrite(), joinExpressionRewrite(), valuesExpressionRewrite()); }