`
cy729215495
  • 浏览: 129169 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论
文章列表

graph code

      package com.tech.cglibx; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.Map; import java.util.Set; public class MyGraph { public static void main(String[] args) { Graph graph = new Graph(); Set<Vertex> vertexSet ...
List permu(String s){ List result=new ArrayList(); if("".equals(s)){ result.add(""); return result; } String c = s.substring(0, 1); List res = permu(s.substring(1)); for(int i=0; i<res.size(); ++ ...
import java.util.Map; import java.util.Properties; import java.util.concurrent.atomic.AtomicInteger; import javax.annotation.Resource; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.s ...
<script language="Javascript"> <!-- var tl=new Array( "Sorry.", "The requested document is totally fake.", "No such file here.", "Even tried multi.", "Nothing helped.", "I think you ought to know that I'm really depres ...
sql developer 过一段时间会连接超时,很麻烦,安装此插件就可以解决问题。   ps(本来准备放截图的,iteye的这个编辑器不支持直接粘贴)     安装步骤: 帮助-》检查更新-》从本地文件安装-》选择keepalive.zip包,就可以了。安装成功后,重启,菜单栏有个小图标,就表示安装成功了。我输入的是60秒。   这个工具很好用,很爽,不用每次重新连接。

excel表头转换

      package com.cgroup.datastruct; import java.util.HashMap; import java.util.Map; public class MyExcel { static Map map = new HashMap(); static { for (int i = 1; i <= 26; i++) { char letter = (char) (64 + i); map.put(i, letter); } } public static void main ...
package com.orchid.system.util; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; @Component public class SpringBeanUtil implem ...
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> New Document </title> <meta http-equiv=conte ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> New Document </title> <meta http-equiv=Content ...
  functionStickman(){ //some methods and properties } functionJuniorStickman(){ Stickman
<a target="blank" href="http://wpa.qq.com/msgrd?V=1&Uin=2297477323&Site=linoa&Menu=yes"><img style="padding:0px;margin:0px;width:60px;height:20px;border:0;" SRC=http://wpa.qq.com/pa?p=1:2297477323:6 alt="点击这里给我发消息" align="absmiddle&q ...
解决办法: Setting->File Encodings->IDE Encoding选择utf-8,不要选择“system default” 同时,Default encoding for properties files 也选择 UTF-8
 先看一篇网上的办法: 安装SQL Server 2005时,出现“性能监视器计数器要求”错误的解决方法2009年04月20日 星期一 17:48今天在安装SQL Server 2005时,出现“性能监视器计数器要求”错误,因为以前出现过这种错误,得到了解决。今 ...
1.在dos下面启动ftpserver的步骤  a.ftp b.open   1.找到user.properties文件,按照前面的格式,可以添加用户。默认有2个用户,admin/admin,anonymous/ ,anonymous的密码是空。还有一种方式来添加用户
  private static String getUniqueId()   {     int current;     synchronized (DefaultFileItem.class)     {       current = counter++;     }     String id = Integer.toString(current);     if (current < 100000000)     {       id = ("00000000" + id).substring(id.length());     } ...
Global site tag (gtag.js) - Google Analytics