ee.Reducer.last
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trả về một Reducer trả về đầu vào cuối cùng. Nếu có thể, tên đầu ra là "last".
Cách sử dụng | Giá trị trả về |
---|
ee.Reducer.last() | Bộ giảm tốc |
Không có đối số.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eReturns a Reducer that selects the last element from a collection.\u003c/p\u003e\n"],["\u003cp\u003eApplicable primarily for temporal data, outputting the most recent value under the name "last".\u003c/p\u003e\n"],["\u003cp\u003eCan be used without any arguments, simplifying its implementation.\u003c/p\u003e\n"]]],["The `ee.Reducer.last()` function creates a Reducer that outputs the last value from its inputs. The resulting output is named \"last,\" where applicable. This function requires no arguments. The function returns a Reducer object. The core action is to create a reducer designed to select the final value in a sequence of inputs.\n"],null,["# ee.Reducer.last\n\nReturns a Reducer that returns the last of its inputs. Where applicable, the output name is \"last\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------|---------|\n| `ee.Reducer.last()` | Reducer |\n\n**No arguments.**"]]