公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.List.equals
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如果列表包含的元素与另一个列表相同,且顺序也相同,则返回 true。
用法 | 返回 |
---|
List.equals(other) | 布尔值 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-29。
[null,null,["最后更新时间 (UTC):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 | |"]]