Lines Matching refs:set
53 * <p>{@code Set<Base> set = Sets.newHashSet(sub1, sub2);}
58 * <p>{@code Set<Base> set = Sets.<Base>newHashSet(sub1, sub2);}
60 * @param elements the elements that the set should contain
66 HashSet<E> set = new HashSet<E>(capacity);
67 Collections.addAll(set, elements);
68 return set;
83 * @param elements the elements that the set should contain
88 SortedSet<E> set = new TreeSet<E>();
89 Collections.addAll(set, elements);
90 return set;