码迷,mamicode.com
首页 >  
搜索关键字:maybe not public    ( 83099个结果
C# 判断两张图片是否一致的快速方法
#region 判断图片是否一致/// /// 判断图片是否一致/// /// 图片一/// 图片二/// 是否一致public bool IsSameImg(Bitmap img, Bitmap bmp){//大小一致if (img.Width == bmp.Width && img.Height...
分类:其他好文   时间:2014-05-05 23:40:03    阅读次数:472
Java Comparator
1 Arrays.sort(points, new comparator());2 3 public static class comparator implements Comparator {4 public int compare(Point p1, Point p2) {5 ...
分类:编程语言   时间:2014-05-05 23:32:10    阅读次数:444
Rhythmk 学习 Hibernate 05 - Hibernate 表间关系 [One To One]
1、One To One 单相背景: 古代一个老婆 只能关联一个老公husband.javapackage com.rhythmk.model;public class husband { public Integer getHusbandId() { return husbandId; }...
分类:系统相关   时间:2014-05-05 23:06:28    阅读次数:516
Leetcode: Maximum Depth of Binary Tree
1 /** 2 * Definition for binary tree 3 * public class TreeNode { 4 * int val; 5 * TreeNode left; 6 * TreeNode right; 7 * TreeNo...
分类:其他好文   时间:2014-05-05 22:44:13    阅读次数:328
Leetcode: Same Tree
1 /** 2 * Definition for binary tree 3 * public class TreeNode { 4 * int val; 5 * TreeNode left; 6 * TreeNode right; 7 * TreeNo...
分类:其他好文   时间:2014-05-05 22:43:14    阅读次数:313
显示游戏FPS帧率的几种计算方式
FPSDisplay.csusing UnityEngine;using System.Collections; public class FPSDisplay : MonoBehaviour{ float deltaTime = 0.0f; void Update() { ...
分类:其他好文   时间:2014-05-05 22:05:23    阅读次数:522
查看物体A是否被相机B渲染
using UnityEngine;using System.Collections;public class Test : MonoBehaviour { public GameObject anObject ; private Camera cam ; private Plan...
分类:其他好文   时间:2014-05-05 22:00:12    阅读次数:357
改进Threadglog并增加多线程写测试
写了个objectpool,很简单,就是个线程安全的队列。 #pragma once #include #include #include #include template class ObjectPool { public: ObjectPool(size_t chunk_size = kdefault_size, size_t chunk_num = 32) : chun...
分类:编程语言   时间:2014-05-05 13:11:58    阅读次数:446
快速抓取某个网站内容方法
是不是有人相抓取网页上面的内容,放到别的网站上面。下面我给大家介绍一种最常用的方法: 用HtmlAgilityPack 组件。 public String GetHtml() { string url = "http://t.news.fx168.com/"; HttpWebRequest request = HttpWebRequ...
分类:Web程序   时间:2014-05-04 00:16:12    阅读次数:368
android数据存储_SQL数据库
//继承SQLiteOpenHelper类, public class DictionaryOpenHelper extends SQLiteOpenHelper{ public static final String DABASENAME = "dictionary"; private static final int DATABASE_VERSION = 1; pri...
分类:移动开发   时间:2014-05-03 23:49:30    阅读次数:589
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!