ui.Map.Linker.get
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ề phần tử tại chỉ mục được chỉ định.
Cách sử dụng | Giá trị trả về |
---|
Linker.get(index) | Đối tượng |
Đối số | Loại | Thông tin chi tiết |
---|
this: ui.data.activelist | ui.data.ActiveList | Đối tượng ui.data.ActiveList. |
index | Số | Chỉ mục của phần tử cần trả về. |
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\u003eThe \u003ccode\u003eget\u003c/code\u003e method retrieves the element located at a specific index within a ui.data.ActiveList.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts the index as an argument and returns the corresponding Object.\u003c/p\u003e\n"],["\u003cp\u003eThis method is utilized within a ui.data.ActiveList instance to access individual elements based on their position.\u003c/p\u003e\n"]]],["The `Linker.get(index)` method retrieves an element from a `ui.data.ActiveList` instance. It accepts a numerical `index` as input, representing the position of the desired element within the list. The method returns the object found at that specified `index`. The `ui.data.ActiveList` instance itself serves as the context for this operation.\n"],null,["# ui.Map.Linker.get\n\n\u003cbr /\u003e\n\nReturns the element at the specified index.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------|---------|\n| Linker.get`(index)` | Object |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|-------------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `index` | Number | The index of the element to return. |"]]