码迷,mamicode.com
首页 >  
搜索关键字:public void __cdecl    ( 122950个结果
Filter过滤链条
Filter.javapackage com.bjsxt.dp.filter;public interface Filter { String doFilter(String str);}SesitiveFilter.javapackage com.bjsxt.dp.filter;public...
分类:其他好文   时间:2014-05-12 12:08:37    阅读次数:249
beanUtils的用法
举例1:使用BeanUtils工具封装用户提交的数据。 1 public static void main(String[] args)throws Exception { 2 3 // 模拟用户的输入的数据如下 4 5 String name = "XML基础"; ...
分类:其他好文   时间:2014-05-12 12:05:34    阅读次数:211
C# this和base
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(stri...
分类:其他好文   时间:2014-05-12 11:46:04    阅读次数:215
路径,通过navigation可以查看 *.class文件
?.class文件内的代码所在的文件的路径默认 1 举例1:读取项目根目录下的数据。 2 private static void readRoot() throws FileNotFoundException, IOException { 3 BufferedReader br = new ...
分类:其他好文   时间:2014-05-12 11:13:12    阅读次数:283
CTreeCtrl 父结点联动子结点CheckBox
实现很简单,直接上代码: 1 void CCheckBoxTreeDlg::OnNMClickTree1(NMHDR *pNMHDR, LRESULT *pResult) 2 { 3 // TODO: 在此添加控件通知处理程序代码 4 CPoint point; 5 UINT...
分类:其他好文   时间:2014-05-12 11:07:03    阅读次数:297
转换人民币大小金额
C#控制台测试 class Program { static void Main(string[] args) { decimal rmb = Convert.ToDecimal(Console.ReadLine()); ...
分类:其他好文   时间:2014-05-12 10:42:25    阅读次数:377
DES加密/解密类。
using System.Security.Cryptography; //用的类 /// /// DES加密/解密类。 /// public class DESEncrypt { public DESEncrypt() { ...
分类:其他好文   时间:2014-05-12 10:38:19    阅读次数:235
C#中ref引用传参怎么用
protected void Page_Load(object sender, EventArgs e) { int value = 0;//初始值 Test(ref value); Response.Write(val...
分类:其他好文   时间:2014-05-12 10:36:16    阅读次数:277
路径构造
1 前言构造和绘制路径,能够在图形环境上画任意形状.2 代码实例ZYViewControllerView.m[plain]view plaincopy-(void)drawRect:(CGRect)rect{//创建路径创建一个新的CGMutablePathRef类型的可变路径并返回其句柄。CGMu...
分类:其他好文   时间:2014-05-12 10:02:22    阅读次数:308
LeetCode Maximal Rectangle
class Solution {public: int maximalRectangle(vector > &matrix) { int rows = matrix.size(); if (rows == 0) return 0; int cols =...
分类:其他好文   时间:2014-05-12 09:54:05    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!