首页 > 2015年01月13日 > 全部分享
单例模式----从零单排
单例模式: 保证一个类只有一个实例, 并提供一个全局访问点。(可以说是最简单的模式, 从零单排冲天梯) 类图: 抽象实现: 1. 懒汉模式 (懒得判断是否已经实例化, 先进行实例化) package com.wenniuwuren.singleton; public class Singleton { // 懒汉模式 /**...
分类:其他   时间:2015-01-13 08:59:53    收藏:0  评论:0  赞:0  阅读:343
提高中职数学活动课教学实践水平的具体措施
一、中职数学活动课的基本特征和主要意义分析   过去应试教育模式下,中职数学教学以考试成绩作为风向标,完全忽视了学生的主观能动性。 而活动课则是让学生通过参加实践活动,了解数学与实际生活之间的密切联系, 加深对所学数学知识的理解和认识,并学会用数学知识解决实际问题,从而全面提高学生的数学素质。 中职数学活动课将“要我学”变为“我要学”,让学生在实际生活中自主发现问题,并将实际问题抽象为数学模型,...
分类:其他   时间:2015-01-13 08:59:43    收藏:0  评论:0  赞:0  阅读:308
拿来就用——一句代码隐藏EditText的软键盘
一句代码隐藏自动弹出的软件盘,快读开发,拿来就用...
分类:其他   时间:2015-01-13 08:59:33    收藏:0  评论:0  赞:0  阅读:154
android中杀死进程的方法
第一种方法:这个方法只能自杀,不能杀死其他进程~          /****************************************************          *            杀死进程的第一种方法                   *          *                                              ...
分类:移动平台   时间:2015-01-13 08:59:23    收藏:0  评论:0  赞:0  阅读:322
LeetCode--Search a 2D Matrix
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right.The first integer of each...
分类:其他   时间:2015-01-13 08:59:13    收藏:0  评论:0  赞:0  阅读:260
几个页面跳转以及传值(通知传值)
iOS 几个页面跳转以及传值(通知传值)...
分类:其他   时间:2015-01-13 08:59:03    收藏:0  评论:0  赞:0  阅读:277
LeetCode--Sort Colors
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the integers ...
分类:其他   时间:2015-01-13 08:58:53    收藏:0  评论:0  赞:0  阅读:207
经典的kmp算法教程
经典的kmp算法教程...
分类:编程语言   时间:2015-01-13 08:58:43    收藏:0  评论:0  赞:0  阅读:261
【Cocos2d-x】PhysicsEditor的使用
下载与安装PhysicsEditor 物理编辑器介绍 1.VertexHelper 免费、开源的物理编辑器,只能在Mac平台下使用。 2.PhysicsEditor 收费,支持windows与mac。可免费使用,有功能限制。 这里使用的是PhysicsEditor。 PhysicsEditor下载地址: 下载地址一:https://www.codeandweb.com/physicseditor 下载地址二:http://pan.baidu.com/s/1mgp8eHa 在PhysicsEdito...
分类:其他   时间:2015-01-13 08:58:33    收藏:0  评论:0  赞:0  阅读:452
LeetCode--Combinations
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ]...
分类:其他   时间:2015-01-13 08:58:23    收藏:0  评论:0  赞:0  阅读:150
经典的BM算法
经典的BM算法...
分类:编程语言   时间:2015-01-13 08:58:13    收藏:0  评论:0  赞:0  阅读:400
职业院校英语教学的有效措施
一、英语教学任重道远   小时候, 会说流利英语的孩子众星捧月;学校里,英语成绩好的学生倍受青睐;单位中,英语有水平者机会频频;择业时,英语能力强者一枝独秀。 众所周知,英语俨然是衡量一个学子素质的金绳, 成为一个人才进入上层管理的胜券。 英语如此殊荣,我们的教学情况却令人汗颜。 以往的高校英语教学,囿于形式,局限于教材,萧规曹随,循常习故,停留于知识传授的低层面,看上去好似对语言能力培养大张旗...
分类:其他   时间:2015-01-13 08:57:53    收藏:0  评论:0  赞:0  阅读:272
【POJ3480】John 博弈 Anti-SG misère规则尼姆游戏
题意:跟NIM游戏差不多,不过是谁不能操作了,谁赢。 定理: NIM游戏规则取最后一个石子输 适用范围:对于任意一个Anti-SG 游戏,当局面中所有的单一游戏 的SG值为0时,游戏结束。 (1)SG==0,有某单一游戏的SG>1。(败) (2)SG!=0,有某单一游戏的SG>1。(胜) (3)SG==0,无某单一游戏的SG>1。(胜) (4)SG!=0,无某单一游戏的S...
分类:其他   时间:2015-01-13 08:57:33    收藏:0  评论:0  赞:0  阅读:437
Android - Bug: runOnUiThread
Bug: runOnUiThread本文地址: http://blog.csdn.net/caroline_wendyBug:java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.app.FragmentActivity.runOnUiThread(java.lang.Ru...
分类:移动平台   时间:2015-01-13 08:57:23    收藏:0  评论:0  赞:0  阅读:851
Android - 微信SDK的Demo调试
微信SDK的Demo调试本文地址: http://blog.csdn.net/caroline_wendy微信的SDK在使用时,会有一些问题,需要进行调试。1. png图片错误:png图片错误,在网络上重新转换为png格式即可。2. 获取token错误:修改scope和state,即可。 // get token findViewById(R.id.get_t...
分类:微信   时间:2015-01-13 08:57:13    收藏:0  评论:0  赞:0  阅读:928
Android - IllegalStateException: Can not perform this action after onSaveInstanceState
IllegalStateException: Can not perform this action after onSaveInstanceState本文地址:http://blog.csdn.net/caroline_wendy参考:http://stackoverflow.com/questions/7469082/getting-exception-illegalstateexceptio...
分类:移动平台   时间:2015-01-13 08:57:04    收藏:0  评论:0  赞:0  阅读:276
cf--Winner(模拟)
Winner Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64u Submit Status Description The winner of the card game popular in Berland "Berlogging" is determined ac...
分类:Windows开发   时间:2015-01-13 08:56:53    收藏:0  评论:0  赞:0  阅读:457
JQuery其他常用函数
isArray(obj)                      检测obj否为一个数组对象 isFunction(obj)                 检测obj否为一个函数 isEmptyObject(obj)          检测obj否为一个空对象 isPlainObject(obj)            检测obj否为一个纯粹对象(是否是通过{ }或new Object(...
分类:Web开发   时间:2015-01-13 08:56:43    收藏:0  评论:0  赞:0  阅读:337
12个操作数组的最佳方法
1. 声明一个数组[java]预览复制String[]aArray=newString[5];String[]bArray={"a","b","c","d","e"};String[]cArray=newString[]{"a","b","c","d","e"};2. 输出一个数组[java]预览复...
分类:编程语言   时间:2015-01-13 08:55:43    收藏:0  评论:0  赞:0  阅读:277
MVC5 + EF6 + Bootstrap3 (13) 查看详情、编辑数据、删除数据
原文:MVC5 + EF6 + Bootstrap3 (13) 查看详情、编辑数据、删除数据Slark.NET-博客园 http://www.cnblogs.com/slark/p/mvc5-ef6-bs3-get-started-rud.html 系列教程:MVC5 + EF6 + Bootstr...
分类:Web开发   时间:2015-01-13 08:55:33    收藏:0  评论:0  赞:0  阅读:353
1707条   上一页 1 ... 74 75 76 77 78 ... 86 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!