`
xizhenyin
  • 浏览: 51093 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论
文章列表
package com.gaoyuan; public class Palindromes { public static boolean isPalindrome(String s) { int len = s.length(); if ( null == s || len < 1) return false ; char a = s.charAt(0); char b = s.charAt(len - 1); if (a != b) ...

HashMap Demo

package com.gaoyuan.HashMap; public class Info { private String phone; private String email; public Info(String phone,String email){ this.phone = phone; this.email = email; } public String getPhone() { return phone; } public void setPhone(String phone) { this.p ...

ArrayList Demo

package com.gaoyuan.ArrayList; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; public class Words{ private static List<String> wordsList; private int vowelCount; private String word; public int getVowelCount() ...

PriorityQueue

<div class="iteye-blog-content-contain" style="font-size: 14px"></div> package com.gaoyuan.priorityQueue; import java.util.Date; import java.util.PriorityQueue; public class ER { private static PriorityQueue<Person> lineup ; public void a ...
  sqlserver 下 用hibernate主键自增的设置     <id name="id" type="java.lang.Integer"> <column name="ID" /> <generator class="native" /> </id>  如果报“无法将 NULL 值插入列ID。。。该列不允许空值。INSERT 失败。”    调整sqlserver下 该列,默认值为空 ...
/**//* * OLE and ActiveX example snippet: browse the typelibinfo for a program id * * For a list of all SWT example snippets see * http://dev.eclipse.org/viewcvs/i.cgi/%7Echeckout%7E/platform-swt-home/dev.html#snippets */ import org.eclipse.swt.SWT; import org.eclipse.swt.SWTException; ...
  package com.app.xizhenyin.webapp.action; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.util.Date; impor ...
  appfuse是web的开源框架,集成了当今流行的大多数开源框架。   官方主页  http://appfuse.org/display/APF/Home    
  request.setMethod("POST");   String token = String.valueOf(System.currentTimeMillis());   request.setParameter(TokenHelper.TOKEN_NAME_FIELD, "test.token");   request.setParameter("test.token", token);     ActionProxy proxy = getActionProxy("/users");   ...
maven2权威指南 中 英。pdf
Hibernate3.2官方中文参考手册   Hibernate3.3官方中文参考手册
一个eclipse方便输入国际化文字的插件。   This editor can directly edit property files written in Unicode reference characters, and saves the time and effort of converting into Unicode through native2ascii, and is a plugin to be integrated with Eclipse. 官方网站:http://sourceforge.jp/projects/propedit/releases/ ...
Spring的IoC(Inversion of Control)。 这是Spring中得有特点的一部份。IoC又被翻译成“控制反转”,也不知道是谁翻译得这么别扭,感觉很深奥的词。其实,原理很简单,用一句通俗的话来说:就是用XML来定义生成的对象。IoC其实是一种 ...
      1. This moment will nap, you will have a dream; But this moment study,you will interpreta dream.  1.此刻打盹,你将做梦;而此刻学习,你将圆梦。  2. I leave uncultivated today, was precisely yesterday perishestomorrow which person of the body implored.  2. ...
详细解析Java中抽象类和接口的区别   在Java语言中, abstract class 和interface 是支持抽象类定义的两种机制。正是由于这两种机制的存在,才赋予了Java强大的 面向对象能力。abstract class和interface之间在对于抽象类定义的支持方面 ...
Global site tag (gtag.js) - Google Analytics