
java 相关
流苏1990
有钱的没才,有才的没钱!我飘浮多年!两者之间我找到统一,我既没钱又没才
展开
-
在java switch中使用String作为分支条件
public class Client { public void caseAnimal(String animal){ switch(Animal.getAnimal(animal)){ case cat: System.out.println("this is a cat");转载 2012-09-08 12:39:45 · 633 阅读 · 0 评论 -
java 常用弹出框
显示一个错误对话框,该对话框显示的 message 为 'alert':JOptionPane.showMessageDialog(null, "alert", "alert", JOptionPane.ERROR_MESSAGE); 显示一个内部信息对话框,其 message 为 'information':JOptionPane.sh转载 2012-10-30 16:01:53 · 657 阅读 · 0 评论 -
读取网页内容
c#读取网页内容 public static class Internet { private static HttpWebRequest request; private static HttpWebResponse response; private static StreamReader reader; pri原创 2012-10-31 08:56:17 · 2424 阅读 · 0 评论 -
Java简单实现固定长度队列(FIFO)
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package linkedlisttest;import java.util.ArrayList;import java.util.Deque;import java.util.Linked转载 2013-12-18 10:40:12 · 727 阅读 · 0 评论