公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.List.equals
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如果清單包含與其他清單相同的元素,且順序相同,則傳回 true。
用量 | 傳回 |
---|
List.equals(other) | 布林值 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-29 (世界標準時間)。
[null,null,["上次更新時間:2025-07-29 (世界標準時間)。"],[[["\u003cp\u003eVerifies if two lists share identical elements arranged in the same sequence.\u003c/p\u003e\n"],["\u003cp\u003eReturns \u003ccode\u003etrue\u003c/code\u003e if the elements and their order match in both lists, otherwise \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis method is applicable to lists for element-by-element comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe comparison considers the order of elements as a crucial factor for equality.\u003c/p\u003e\n"]]],["The `List.equals(other)` method checks if a list (`this`) is identical to another list (`other`). It returns a Boolean value, specifically `true`, if both lists contain the same elements in the same sequence. It will return `false` otherwise. The method takes one argument, `other`, which is the list being compared to. The list that the method is called on is `this` and of the type List.\n"],null,["# ee.List.equals\n\nReturns true if list contains the same elements as other, in the same order.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------|---------|\n| List.equals`(other)` | Boolean |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `list` | List | |\n| `other` | List | |"]]