android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
public static <E> CompactLinkedHashSet<E> create(E... elements) {
    CompactLinkedHashSet<E> set = createWithExpectedSize(elements.length);
    Collections.addAll(set, elements);
    return set;
  }
public static <E> CompactLinkedHashSet<E> create(E... elements) {
    CompactLinkedHashSet<E> set = createWithExpectedSize(elements.length);
    Collections.addAll(set, elements);
    return set;
  }
Creates a {@code CompactLinkedHashSet} instance containing the given elements in unspecified
order.

@param elements the elements that the set should contain
@return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)