[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-685690-105":59,"doc-detail-685690-en":130,"doc-similar-685690":156},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","lec-02-arraylist-lecture-notes","LEC 02 - ArrayList - Lecture Notes","","Lecture notes for CSE 122 Spring 2023 focusing on ArrayList. The material captures classroom announcements (upcoming P0 due time, reminders about marking on Ed, IPL availability, and a Java review session with a calendar recording). It then reviews code quality principles via functional decomposition, emphasizing readable structure, non-trivial methods, cohesive operations, and concise main. The notes also cover naming conventions, indentation consistency, reducing redundancy, and a detailed commenting guide for headers, classes, and methods including parameters, return values, and exceptions.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/lec-02-arraylist-lecture-notes/685690/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/lec-02-arraylist-lecture-notes/685690.png","ImageObject",300,407,{"name":92,"@type":93},"iuabcfuw","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-12","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What announcements are included in the lecture notes?","Question",{"text":112,"@type":113},"The notes list that P0 is due tomorrow at 11:59pm, remind students to mark at least once on Ed, and state that IPL is open. They also mention a Java review session from last Monday with a recording available on the calendar.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What does functional decomposition aim to improve in the code?",{"text":117,"@type":113},"It aims to make code more understandable to humans by keeping main as a concise summary, ensuring operations within a method are related, and avoiding trivial methods.",{"name":119,"@type":110,"acceptedAnswer":120},"What commenting guidelines are recommended for Java code?",{"text":121,"@type":113},"The notes recommend header comments, class comments describing what the class does, and method comments for every method besides main. Method comments should cover behavior, parameters, returned values, and any thrown exceptions.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},685690,1794016767,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":41,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":81,"preview_urls":144},3985747874027,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","LEC 02: ArrayList CSE 122 Spring 2023  \nLEC 02  \nArrayList  \nArrayList  \nQuestions during Class? Raise hand or send here [sli.do \\#cse122](sli.do #cse122)  \nBEFORE WE START  \nTalk to your neighbors:  \nDogs or cats?  \nInstructors TAs  \nTristan Huber & Hunter Schafer  \nAmbika Andrew  \nAudrey  \nAutumn Ayush Ben Colton Di Eesha  \nElizabeth  \nEvelyn Jacob  \nJaylyn Jin  \nJoe Kevin Leon  \nMegana  \nMelissa Mia  \nPoojitha Rishi  \nRucha Shivani  \nShreya Steven Suhani Yijia Ziao  \nLEC 02: ArrayList CSE 122 Spring 2023  \nLecture Outline  \n• Announcements   \n• Code Quality Recap  \n• ArrayList Recap  \n• ArrayList Examples  \nLEC 02: ArrayList CSE 122 Spring 2023  \nAnnouncements  \n• P0 is out, due tomorrow @11:59pm  \n- make sure you hit ‘mark’ at least once on Ed  \n• IPL is open!  \n• Java Review session last Monday  \n- recording now available on calendar  \n- Java Tutorial  \nLEC 02: ArrayList CSE 122 Spring 2023  \nLecture Outline  \n• Announcements  \n• Code Quality Recap   \n• ArrayList Recap  \n• ArrayList Examples  \nLEC 02: ArrayList CSE 122 Spring 2023  \nCode Quality-Functional Decomposition  \nGoal: make our code more understandable to humans  \n• Subgoal: main is a concise summary of the program  \n• Subgoal: all operations in a method are related  \n• Subgoal: no trivial methods  \nLEC 02: ArrayList CSE 122 Spring 2023  \nCode Quality-Functional Decomposition  \nExample: Solution from Friday’s lecture  \nLEC 02: ArrayList CSE 122 Spring 2023  \nCode Quality-Other  \n122 Code Quality Guide  \nwhich includes. .  \n• naming conventions: variableNames, methodNames, ClassNames, CLASS_CONSTANTS  \n• consistent indentation  \n• when possible, avoid repeated/redundant code  \nLEC 02: ArrayList CSE 122 Spring 2023  \nCommenting  \n122 Commenting Guide  \nHeader comment  \nClass comment-what does this class do?  \nMethod comments -every method besides main • behavior of the method, including  \n- parameters  \n- returned value (if any)  \n- thrown exceptions (if any)  \nLEC 02: ArrayList CSE 122 Spring 2023  \nLecture Outline  \n• Announcements  \n• Code Quality Recap  \n• ArrayList Recap   \n• ArrayList Examples  \n NEW DATA STRUCTURE DAY!!","cbCaikvn2bw3438v","https://ap.wps.com/l/cbCaikvn2bw3438v","pdf",1029448,"English","# Lecture Outline\n## Announcements\n## Code Quality Recap\n## ArrayList Recap\n## ArrayList Examples","[{\"question\":\"What announcements are included in the lecture notes?\",\"answer\":\"The notes list that P0 is due tomorrow at 11:59pm, remind students to mark at least once on Ed, and state that IPL is open. They also mention a Java review session from last Monday with a recording available on the calendar.\"},{\"question\":\"What does functional decomposition aim to improve in the code?\",\"answer\":\"It aims to make code more understandable to humans by keeping main as a concise summary, ensuring operations within a method are related, and avoiding trivial methods.\"},{\"question\":\"What commenting guidelines are recommended for Java code?\",\"answer\":\"The notes recommend header comments, class comments describing what the class does, and method comments for every method besides main. Method comments should cover behavior, parameters, returned values, and any thrown exceptions.\"}]","LEC 02 - ArrayList - Lecture Notes | PDF",76,[145,149,152],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e58fe832e37b85b01dda2ddde99fae6e.webp",983,552,{"page_no":14,"url":150,"width":151,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5a8e15cd33b6c63a7227a707056a4cfe.webp",982,{"page_no":81,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/22e984942d26fe5336b21c51b184fd0c.webp",981,551,{"list":157,"token":66},[158,163,169,175,182,188,194,200,207,214],{"doc_id":159,"doc_title":160,"file_type":137,"home_preview_img_url":161,"slug":162,"view_count":19,"category_name":30,"create_tm":129},685691,"ArrayList and Iterator in Java - Java List Iteration Methods and Examples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000179348/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=Q0u96fkg73qfWwELdcMgvBTVT1s%3D","arraylist-and-iterator-in-java-java-list-iteration-methods-and-examples",{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":19,"category_name":30,"create_tm":168},685689,"List and ArrayList - Java Data Structure Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000179285/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=%2FfJd5Or3i4fFa99RHQ1KVZmJgf0%3D","list-and-arraylist-java-data-structure-overview",1794016763,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":24,"category_name":30,"create_tm":174},685694,"Implementing an ArrayList - Part 1 - Homework/Exam Announcements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000179430/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=OePly6WXczL9p8zL3dpgQd2FFqI%3D","implementing-an-arraylist-part-1-homeworkexam-announcements",1794016774,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":180,"category_name":30,"create_tm":181},311712,"AP Computer Science A - Java Quick Reference - Exam Reference Information","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229907590499/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=G3EwV7OAHNbfJ7rqLlj9Wtr4Nfo%3D","ap-computer-science-a-java-quick-reference-exam-reference-information",14,1789894691,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":29,"category_name":30,"create_tm":187},685799,"ARRAY LISTS - Lecture 17 - CS302 Introduction to Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000212652/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=LSMS3Jc5m3c9hGB61AmS8pglPRA%3D","array-lists-lecture-17-cs302-introduction-to-programming",1794018682,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":44,"category_name":30,"create_tm":193},347079,"Functions - Java Function Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910997760/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=R%2FNZHqSGXotnONktoBU2ryZymZQ%3D","functions-java-function-basics",1790065174,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":24,"category_name":30,"create_tm":199},670905,"Java Cheat Sheet - Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988353128/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=T3aG0PK0rZvIwkpqM2NOPoM1Nlk%3D","java-cheat-sheet-notes",1793572659,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":30,"create_tm":206},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=tLgNOkbrV1eXNTGSIbi14mv2J98%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",916,1785472614,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":30,"create_tm":213},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=1VGPaJDsnMuCpczTKhUGR6b0zOc%3D","xnx-universal-transmitter-installation-manual",856,1776135954,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":219,"category_name":30,"create_tm":220},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796117759&Signature=FPO09otLRSctEzm%2FPPrMevYe8RY%3D","the-candlestick-trading-bible-trading-guide",805,1789767270]