码迷,mamicode.com
首页 >  
搜索关键字:java 序列化 java.io.streamcorruptedexception    ( 304424个结果)
Leetcode: Plus One
少数次通过 1 public class Solution { 2 public int[] plusOne(int[] digits) { 3 int[] carry=new int[digits.length+1]; 4 int[] results=new i...
分类:其他好文   时间:2014-05-02 08:23:11    阅读次数:271
Leetcode: Length of Last Word
许多次通过,主要是没有考虑到这种情况:“A C ”结尾有多重空格的情况。 1 public class Solution { 2 public int lengthOfLastWord(String s) { 3 int j, k; 4 if(s == nu...
分类:其他好文   时间:2014-05-02 08:21:00    阅读次数:300
ASP.NET MVC 动态加载 *.ascx
在Controller中: public ActionResult LoadFoo() { return PartialView("Foo", aModel); }Javascript: function loadFoo() { $.ajax({ url: "LoadFoo", success: f...
分类:Web程序   时间:2014-05-02 08:18:52    阅读次数:353
Pig安装及本地模式实战
Pig是Apache的一个开源项目,用于简化MapReduce的开发,实质Pig将转化为MapReduce作业,使开发人员更多专注数据而不是执行的本质,是不懂java人员的福利。Pig由以下两部分组成:1、表达数据流的语言,成为PigLatin。2、运行PigLatin程序的执行环境。目前有两种环境:在单个JVM..
分类:其他好文   时间:2014-05-02 07:52:55    阅读次数:591
Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2014-05-02 07:05:08    阅读次数:311
ui的设计原则
部分网页设计原则 规划目录结构时应当遵循的几个原则: 1.不要将所有文件都存放在根目录下; 2.按栏目内容分别建立子目录; 3.在每个主目录下都建立独立的images目录; 4.目录的层次不要太深; 5.切忌使用中文目录; 6.不要使用过长的目录; 7.尽量使用意义明确的目录。 ...
分类:其他好文   时间:2014-05-02 06:58:41    阅读次数:338
[转]java将字符串写入文件中
Java代码 importjava.io.File;importjava.io.FileNotFoundException;importjava.io.FileOutputStream;importjava.io.FileWriter;importjava.io.IOException;import...
分类:编程语言   时间:2014-05-02 06:13:08    阅读次数:477
WebMisSharp,WebMisCentral,企业框架正则表达式规则共享专版
ElegantWM.WebUI/Application/common/src/Tools.js欢迎大家贡献更多的正则验证规则,目前支持如下:/*****************************************************************//* VType自定义校验...
分类:Web程序   时间:2014-05-02 06:04:30    阅读次数:346
ajax从asp后台获取数据
1.前台 $.ajax({ //url: "demo/data/taskTree.txt", url: "GanttChart.aspx?taskList=1" , cache: false, success:...
分类:Web程序   时间:2014-05-02 05:36:20    阅读次数:313
Ubuntu 12.04 安装JDK 8和Eclipse
Ubuntu 12.04 下安装 JDK8 方法一:(缺点是安装时附加openjdk等大量程序并无法去除,优点是安装简单) $ sudo apt-get install eclipse 方法二:(优点是安装内容清爽,缺点是配置麻烦) 1、安装JDK,参考 1、下载 JDK 8 从http://www.oracle.com/technetwork/java/javaseb...
分类:系统相关   时间:2014-05-02 05:27:42    阅读次数:686
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!