码迷,mamicode.com
首页 >  
搜索关键字:class    ( 183544个结果
快速批量修改cvs的root文件
1 import java.io.File; 2 import java.io.FileOutputStream; 3 import java.io.IOException; 4 import java.util.LinkedList; 5 6 public class Modify...
分类:其他好文   时间:2015-05-28 12:30:54    阅读次数:141
MVC-Html.Label(TextBox、TextArea、RadioButton、CheckBox)
红色表示可选参数。@Html.Label("name", "value", new { @class = "class", @style = "color:Red;" })value@Html.TextBox("name", "value", new { @class = "txt", @style...
分类:Web程序   时间:2015-05-28 12:30:39    阅读次数:320
观察者设计模式
public class UserObserver { //观察者 public interface IUserObserver { void UserNotify(object anObject); } ...
分类:其他好文   时间:2015-05-28 12:28:46    阅读次数:117
xml序列化方式
public static class MySerializeXmlHelper { static MySerializeXmlHelper() { } private static object _lock = new object(); ...
分类:其他好文   时间:2015-05-28 12:25:45    阅读次数:197
1.String 数组的连接(最后一个不加,)
import java.lang.StringBuilder; public class Stringadd { ?public static void method1() { ??String[] name = { "嘿嘿", "嘻", "等等等" }; ??StringBuffer sb = new StringBuffer(); ??for (int i = ...
分类:编程语言   时间:2015-05-28 11:06:02    阅读次数:168
关于selenium webdriver
//搜索二手房 ?import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.WebElement;? public class NewTest{??...
分类:Web程序   时间:2015-05-28 11:04:16    阅读次数:320
新手学JAVA(七)----Override VS Overload
一. 重载 在同一个类中的许多方法可以拥有相同的名字,只要他们的参数声明不同即可,这种方法被称为重载。 举个例子: public class overload{ '''一个重则输出方法''' void print(){ System.out.println("Hello!"); } '''重载上面的输出方法,加上了参数'''...
分类:编程语言   时间:2015-05-28 10:59:14    阅读次数:163
开发问题日记
1.interface org.springframework.aop.SpringProxy is not visible from class loader 解决方法:引入spring  aop的包 2.运行平台的MainApplication报了这样的错误:签名信息不匹配 Caused by: java.lang.IllegalArgumentException: protocol =...
分类:其他好文   时间:2015-05-28 10:57:49    阅读次数:196
java 读取显示txt内容(Swing)
java 读取显示txt内容(Swing),JTextAreapublic class TxtSwing extends JFrame { private JTextArea textAreaOutput; public TxtSwing() throws IOException { ...
分类:编程语言   时间:2015-05-28 10:48:16    阅读次数:165
Java基础知识之常用类库(2)
SimpleDateFormat设置自己想要的日期时间显示方式:import java.text.SimpleDateFormat; import java.util.Date;public class FormatDemo { public static void main(String[] args) { // TODO Auto-generated method stu...
分类:编程语言   时间:2015-05-28 09:45:18    阅读次数:228
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!