Set.CopyOf(ICollection) メソッド

定義

注意事項

Use 'Java.Util.ISet.CopyOf'. This class will be removed in a future release.

指定したコレクションの要素を含む "#unmodifiable">変更できない Set を返します。

[Android.Runtime.Register("copyOf", "(Ljava/util/Collection;)Ljava/util/Set;", "", ApiSince=31)]
[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]
[System.Obsolete("Use 'Java.Util.ISet.CopyOf'. This class will be removed in a future release.")]
public static System.Collections.ICollection CopyOf (System.Collections.ICollection coll);
[<Android.Runtime.Register("copyOf", "(Ljava/util/Collection;)Ljava/util/Set;", "", ApiSince=31)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "E" })>]
[<System.Obsolete("Use 'Java.Util.ISet.CopyOf'. This class will be removed in a future release.")>]
static member CopyOf : System.Collections.ICollection -> System.Collections.ICollection

パラメーター

coll
ICollection

要素が描画される a Collection は null 以外である必要があります

戻り値

指定 Set された の要素を含む 。 Collection

属性

注釈

java.util.Set.copyOf(java.util.Collection<? extends E>)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象