コード例 #1
0
ファイル: GridLeanSet.java プロジェクト: mefeakengin/gridgain
 /**
  * Creates a new set with the same elements as the given collection. The collection is created
  * with a capacity of twice the number of mappings in the given map or 11 (whichever is greater),
  * and a default load factor and concurrencyLevel.
  *
  * @param c Collection to add.
  */
 public GridLeanSet(Collection<E> c) {
   super(new GridLeanMap<>(F.zip(c, VAL)));
 }