ImmutableSet<Foo> foos = ImmutableSet.of(a, few, elements); ImmutableMap<Key, Value> map = ImmutableMap.of(k1, v1, k2, v2);