|
413 | 413 | "definition": "listIterator(int index) LinkedList এর মেথড প্যারামিটার ভ্যালু তম ইন্ডেক্স থেকে শেষ পর্যন্ত ইলিমেন্ট গুলোর একটি list-iterator return করে ", |
414 | 414 | "code": "myLinkedList.listIterator(int index);" |
415 | 415 | }] |
| 416 | + }, |
| 417 | + { |
| 418 | + "title": "HashMap ক্লাস মেথডস", |
| 419 | + "items": [ |
| 420 | + { |
| 421 | + "definition": "int size() hashMap এর সাইজ রিটার্ন করে", |
| 422 | + "code": "hmap.size()" |
| 423 | + }, { |
| 424 | + "definition": "boolean isEmpty() hashMap এম্পটি কিনা এটা চেক করে, true Or false রিটার্ন করে", |
| 425 | + "code": "hmap.isEmpty" |
| 426 | + }, { |
| 427 | + "definition": "put(Key k, Value v) hashMap -এ কি এবং ভ্যালু ইন্সার্ট করে", |
| 428 | + "code": "hashMap.put(1,\"Jewel Chowdhury\")" |
| 429 | + }, { |
| 430 | + "definition": "get(Object key) এটা কোরেস্পন্ডিং key এর ভ্যালু রিটার্ন করে", |
| 431 | + "code": "hmap.get(1)" |
| 432 | + }, { |
| 433 | + "definition": "keySet() এটি hashMap এর সকল কি সেট রিটার্ন করে", |
| 434 | + "code": "hmap.keySet()" |
| 435 | + },{ |
| 436 | + "definition": "Collection values() এটি hashMap এর সকল ভ্যালু রিটার্ন করে", |
| 437 | + "code": "hmap.values()" |
| 438 | + }, { |
| 439 | + "definition": "Object clone() এটি একটি ম্যাপ এর সকল কি এবং ভ্যালু হুবাহু কপি করে", |
| 440 | + "code": "hmap.clone()" |
| 441 | + },{ |
| 442 | + "definition": "boolean containsKey(Object key) যদি key hashMap এ পাওয়া যায় তবে true অন্যথায় false রিটার্ন করে", |
| 443 | + "code": "hmap.containsKey(1)" |
| 444 | + },{ |
| 445 | + "definition": "boolean containsValue(Object value) যদি value hashMap এ পাওয়া যায় তবে true অন্যথায় false রিটার্ন করে", |
| 446 | + "code": "hmap.containsValue(\"Jewel Chowdhury\")" |
| 447 | + },{ |
| 448 | + "definition": "Value remove(Object key) এটি hashMap থেকে কোরেস্পন্ডিং key এর জন্য কি-ভ্যালু পেয়ারটি রিমুভ করে", |
| 449 | + "code": "hmap.remove(1)" |
| 450 | + },{ |
| 451 | + "definition": "void putAll(Map m) এটি hashMap থেকে সকল এলিমেন্ট কপি করে নতুন একটি ম্যাপে রাখে", |
| 452 | + "code": "hmap2.putAll(hmap)" |
| 453 | + }, { |
| 454 | + "definition": "void clear() এটি hashMap থেকে সকল কি এবং ভ্যালু রিমুভ করে/মুছে ফেলে", |
| 455 | + "code": "hmap.clear()" |
| 456 | + } |
| 457 | + ] |
416 | 458 | } |
417 | 459 |
|
418 | 460 | ] |
|
0 commit comments