摘要:
guava-librarieshttp://code.google.com/p/guava-libraries/public class MultiMapDemo { public static void main(String[] args) { HashMultimap<String, String> map = HashMultimap.create(); map.put("a", "AAAAA"); map.put("a", "AAA"); map.put("a", &quo 阅读全文
摘要:
接口Car.java/* * package factory; */public interface Car { public abstract void start();}实现类Pickup.java/* * package factory; */public class Pickup implements Car { public void start() { System.out.println("Pickup start!"); } }实现类Mini.java/* * package factory; */public class Mini imp... 阅读全文
摘要:
import java.awt.BorderLayout;import java.awt.Color;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.util.logging.Level;import java.util.logging.Logger;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JPanel;import javax.swing.JProgressBar;impo 阅读全文