1. This week study summary 1.1 summarizes the set and generic related content in the way you like (mind map or other).
2. Written work
Collection of this homework question set
1. Deletion of the specified element in list (title of topic) 1.1 Experimental summary. and answer: List at least 2 ways to delete elements in the list. Use the Line.split method to separate a row of elements, and remove the same element using the Remove in list. Method One: Use the list's remove (note the value of Get (i) here)
public static void remove(List<String> list, String str) { for(int i=0;i<list.size();i++) { if(list.get(i).equals(str)) { list.remove(str); i--; } } }
Method Two: Remove with iterators (this method is used for reference)
public static void remove(List<String> list, String str) { for(int i=0;i<list.size();i++) { if(list.get(i).equals(str)) { list.remove(str); i--; } } }
2. Count the number of words in the text and sort them by the number of occurrences (problem set)
2.1 pseudocode (Do not copy code, otherwise deduct)
2.2 Experimental Summary
- Inverted index (title)
The subject is more difficult, do not come out does not matter. But must have own thinking process, must have the submission result.
3.1 Your code runs the result
3.2 pseudocode (Do not copy code, otherwise deduct)
3.3 Experimental Summary
4.Stream and Lambda
Write a student class that has the following properties:
Private Long ID;
private String name;
private int age;
Private Gender gender;//enum type
Private Boolean JOINSACM; Have you participated in the ACM contest?
Creates a collection object, such as a list
- Generic class: Generalstack
The Generalstack of jmu-java-05-collection of title set
5.1 Code for Generalstack interface
5.2 What are the benefits of generics compared to arraylistintegerstack in previous assignments?
3. Code Cloud and PTA
Topic Set: jmu-java-05-Collection
3.1. Code Cloud codes Submission record
In the Code cloud Project, select statistics-commits history-set time period, and then search for and
3.2 PTA Problem set complete situation diagram
Two graphs are required (1. Ranking chart. 2.PTA Submission list diagram)
3.3 Count the amount of code completed this week
The weekly code statistics need to be fused into a single table.
Can you achieve your goals?
- Assess how much you understand Java
Try to evaluate how much you understand Java from the following dimensions
Job 09-Collections and generics Java