摘要:
import java.util.*;public class TestArgsWords { private static final int ONE = 1; public static void main(String args[]) { Map m = new Ha... 阅读全文
摘要:
TestMappackage com.bjsxt.p7;import java.util.HashMap;import java.util.Map;import java.util.TreeMap;public class TestMap { public static void main(S... 阅读全文
摘要:
package com.bjsxt.chap7;import java.util.*;public class TestList { public static void main(String[] args) { List l1 = new LinkedList(); ... 阅读全文
摘要:
import java.util.*;public class EnhancedFor { public static void main(String[] args) { int[] arr = {1, 2, 3, 4, 5}; for(int i : arr) ... 阅读全文
摘要:
import java.util.Collection;import java.util.HashSet;import java.util.Iterator;public class TestIterator { public static void main(String[] args) {... 阅读全文