码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
java中的xml与实体类之间的映射
实体类: 1 package xml; 2 3 import javax.xml.bind.annotation.XmlRootElement; 4 5 @XmlRootElement 6 public class User { 7 String name; 8 String e...
分类:编程语言   时间:2015-04-28 22:18:29    阅读次数:286
R语言字符串替换
R gsub Function gsub() function replaces all matches of a string, if the parameter is a string vector, returns a string vector of the same length and ...
分类:编程语言   时间:2015-04-28 22:16:14    阅读次数:354
[Asp.Net]4种方法把数据绑定到Dropdownlist
第一种,把Array数组绑到dropdownlist 程序代码string[] Month =new string[7]{ "January", "February", "March", "April", "May", "June", "July" };        this.DropDownList1.DataSource = Month;        this.DropDownList1....
分类:Web程序   时间:2015-04-28 21:10:04    阅读次数:157
java连接redis
类似于java连接mysql需要包 java连接redis同样也需要包 jedis-2.1.0.jar是java用来连接redis的包 1、将包引入即可 2、 public void redisTest(){ Jedis jedis=new Jedis("127.0.0.1", 6379); jedis.set("greeting", "hello world"); String...
分类:编程语言   时间:2015-04-28 21:08:43    阅读次数:121
POJ 2688 BFS+状压DP
标准的TSP问题 m*n矩阵,有不超过10个需要走到的点,给出起点,问走最少的步子把所有点走完 BFS出每个必须走到的点的最短距离 然后状压DP即可 #include "stdio.h" #include "string.h" #include "queue" using namespace std; const int dir[4][2]={ {1,0},{-1,0},{0,1},{0...
分类:其他好文   时间:2015-04-28 21:08:19    阅读次数:145
新手学JAVA(五)----深入剖析JAVA拆装箱
先来看一段代码:public class Main{ public static void main(String[] args){ Integer num1 = 100; Integer num2 = 100; Integer num3 = 200; Integer num4 = 200; '''//输出结果'''...
分类:编程语言   时间:2015-04-28 21:06:32    阅读次数:181
C#中Post和Get提交
1、Post提交 private string PostWebRequest(string Url, string paramData, string dataEncode) { string ret = string.Empty; try ...
分类:Windows程序   时间:2015-04-28 20:39:29    阅读次数:293
C# 中 Json 和 DataTable的转换方法
public static DataTable JsonToDataTable(string json) { DataTable dt = null; dt = new DataTable();//实例化 ...
分类:Windows程序   时间:2015-04-28 20:18:57    阅读次数:222
jfinal It is indirectly referenced from required
今天使用jfinal的controller进行request请求方法的判断 method =?getRequest().getMethod(); 一直报错 HttpServletRequest refers to the missing type String It is indirectly referenced from required? 新建...
分类:其他好文   时间:2015-04-28 19:09:40    阅读次数:120
until循环语句
脚本编程控制结构顺序选择ifcase循环forwhileuntilwhile格式:whileCONDITION;dostatmentdone进入循环:条件满足退出循环:条件不满足until格式:untilCONDITION;dostatmentdone进入循环:条件不满足退出循环:条件满足#!/bin/bash # read-p"InputSomething:"STRING until[$STR..
分类:其他好文   时间:2015-04-28 18:52:20    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!