お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.List.replaceAll
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リスト内の oldval のすべての出現を newval に置き換えます。
用途 | 戻り値 |
---|
List.replaceAll(oldval, newval) | リスト |
引数 | タイプ | 詳細 |
---|
これ: list | リスト | |
oldval | オブジェクト | |
newval | オブジェクト | |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThe \u003ccode\u003ereplaceAll\u003c/code\u003e method substitutes all instances of \u003ccode\u003eoldval\u003c/code\u003e within the list with \u003ccode\u003enewval\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt operates directly on the existing list and returns the modified list.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eoldval\u003c/code\u003e represents the value to be replaced and \u003ccode\u003enewval\u003c/code\u003e represents the replacement value.\u003c/p\u003e\n"]]],[],null,["# ee.List.replaceAll\n\nReplaces all occurrences of oldval in list with newval.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------|---------|\n| List.replaceAll`(oldval, newval)` | List |\n\n| Argument | Type | Details |\n|--------------|--------|---------|\n| this: `list` | List | |\n| `oldval` | Object | |\n| `newval` | Object | |"]]