Week four software project management jobs
1.Fantacy Group Standing meeting
Friday after class 3:xx to 3: $ 4 Opened a standing meeting, the main content:
Start by asking what you've learned and done the week before, and then determine your mission this week and prepare for the release of the Alpha version.
Yang Joppeng: The implementation of the core code of Word frequency statistics and the implementation of download module
Guo Ming: Upload module implementation
He Meichi: Refer to java Books, practice writing code
Hide Strong: Learn the content of Java , participate in the word frequency statistical algorithm writing
Import java.util.ArrayList;
Import java.util.Collections;
Import Java.util.Comparator;
Import Java.util.HashMap;
Import Java.util.HashSet;
Import java.util.List;
Import Java.util.Map;
Import Java.util.Map.Entry;
Import Java.util.Set;
public class Wordfreqstatistics {
public static String Sourcefilepath = "X:/workspaces/a.txt";
public static map<string, integer> MP = new hashmap<string, integer> ();
public static set<string> stop = new hashset<string> ();
public static String words[] = null;
public static String sourcecontent = null;
public static string Getsourcecontent (string filepath) {
return Fileutils.readfile (filepath);
}
public static string[] Pretreatmentcontent (String content) {
Content = Content.tolowercase ();
Content = Content.replaceall ("[^a-za-z]", "");
Content = Content.replaceall ("\\s+", "" ");
Return Content.split ("\\s+");
}
public static void Getfreq (string[] words) {
for (int i = 0; i < words.length; i++) {
if (!stop.contains (Words[i])) {
if ((Mp.get (words[i)) = = null) {
int value = Mp.get (Words[i]). Intvalue ();
value++;
Mp.put (Words[i], new Integer (value));
} else {
Mp.put (Words[i], new Integer (1));
}
}
}
}
public static list<map.entry<string, integer>> sort () {
arraylist<entry<string, integer>> lst = new arraylist<entry<string, integer>> (
Mp.entryset ());
Collections.sort (LST, new comparator<object> () {
@SuppressWarnings ("Unchecked")
public int Compare (object e1, object E2) {
int v1 = Integer.parseint (((entry<string, integer>) E1)
. GetValue (). toString ());
int v2 = Integer.parseint (((entry<string, integer>) E2)
. GetValue (). toString ());
return V2-V1;
}
});
return LST;
}
public static void Main (string[] args) {
Sourcecontent = Getsourcecontent (Sourcefilepath);
Words = Pretreatmentcontent (sourcecontent);
Getfreq (words);
Fileutils.writefile (sort ());
}
}
2. Pair programming
This time with my new teammate He Meichi programming, in Tuesday in the library discussed, ready to implement arithmetic, want to be able to interactively use or batch processing multiple operations, and normal calculator input method is the same: first enter the first item, followed by an operator, then the second item, The result of the operation is then converted to the first item of the next operation.
3. Burndown Chart
4.psp
| Week Four |
Job description |
Type |
Date |
Take |
546 words 84 Rows or so Code |
| Standing meeting |
Discuss |
3.25 |
30 minutes |
| The method of construction |
Reading |
3.26 |
30 minutes |
| Java language Programming +eclipse |
Coding |
3.28 |
4 hours |
| The method of construction |
Reading |
3.30 |
1 hours |
GitHub Address: Https://github.com/zangrunqiang/cptj.git
Software project Management Week fourth job