ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ui.data.ActiveList.set
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
নির্দিষ্ট সূচকে একটি উপাদান সেট করে। তালিকার শেষ উপাদানটির সূচী ছাড়িয়ে গেলে, উপাদানটি তালিকার শেষে যোগ করা হবে।
এই ui.data.ActiveList প্রদান করে।
ব্যবহার | রিটার্নস | ActiveList. set (index, el) | ui.data.ActiveList |
যুক্তি | টাইপ | বিস্তারিত | এই: ui.data.activelist | ui.data.ActiveList | ui.data.ActiveList উদাহরণ। |
index | সংখ্যা | ওভাররাইট করার জন্য সূচক। |
el | অবজেক্ট | সেট করার উপাদান। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe \u003ccode\u003eset\u003c/code\u003e method allows modification of an element at a specific index within a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf the given index is beyond the current list's bounds, the provided element is appended to the end.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eset\u003c/code\u003e returns the original \u003ccode\u003eui.data.ActiveList\u003c/code\u003e instance, enabling method chaining.\u003c/p\u003e\n"]]],[],null,["# ui.data.ActiveList.set\n\n\u003cbr /\u003e\n\nSets an element at the specified index. If the index exceeds that of the list's last element, the element will be added to the end of the list.\n\n\u003cbr /\u003e\n\nReturns this ui.data.ActiveList.\n\n| Usage | Returns |\n|-----------------------------|--------------------|\n| ActiveList.set`(index, el)` | ui.data.ActiveList |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `index` | Number | The index to overwrite. |\n| `el` | Object | The element to set. |"]]