码迷,mamicode.com
首页 >  
搜索关键字:compare    ( 1961个结果
git解决冲突插件之Beyond Compare
Beyond Compare主要作用: 1. 可以比较文件、文件夹的差异; 2. 将一个文件或文件夹的两个不同版本进行变更合并,生成一个输出。 基于以上两个特性,可以将beyond compare集成到git内,作为解决冲突的利器,具体配置如下,找到.gitconfig文件(Windows下在C:\ ...
分类:其他好文   时间:2018-06-04 14:27:09    阅读次数:528
【高精度 JAVA】HDU 5920 Ugly Problem
题意 给你一个数字n(n { public int compare(Integer x, Integer y) { if(x y) return 1; if(x 0 ) { String t = n.toString(); int lenth = t.length(); if(lenth == 1) ...
分类:编程语言   时间:2018-06-03 10:40:41    阅读次数:152
yii2 验证规则使用方法
required : 必须值验证属性 email : 邮箱验证 match : 正则验证 url : 网址 captcha : 验证码 safe : 安全 compare : 比较 default : 默认值 exist : 存在 file : 文件 filter : 滤镜 in : 范围 uniq ...
分类:其他好文   时间:2018-06-02 11:37:44    阅读次数:129
String 字符串
字符串查找String提供了两种查找字符串的方法,即indexOf与lastIndexOf方法。 1、indexOf(String s) 该方法用于返回参数字符串s在指定字符串中首次出现的索引位置,当调用字符串的indexOf()方法时,会从当前字符串的开始位置搜索s的位置;如果没有检索到字符串s, ...
分类:其他好文   时间:2018-05-31 20:35:30    阅读次数:144
qs.js - 更好的处理url参数
第一次接触 "qs" 这个库,是在使用axios时,用于给post方法编码,在使用过程中,接触到了一些不同的用法,写在这里分享一下。 qs.parse 方法可以把一段格式化的字符串转换为对象格式,比如 qs.stringify 基本用法 则和 相反,是把一个参数对象格式化为一个字符串。 排序 甚至可 ...
分类:Web程序   时间:2018-05-31 12:23:22    阅读次数:10707
C# 使用WinApi操作剪切板Clipboard
前言: 最近正好写一个程序,需要操作剪切板 功能很简单,只需要从剪切板内读取字符串,然后清空剪切板,然后再把字符串导入剪切板 我想当然的使用我最拿手的C#来完成这项工作,原因无他,因为.Net框架封装了能实现这种功能的方法 然后就有了如下代码 1 string Temp = ""; 2 while ...
分类:Windows程序   时间:2018-05-31 02:35:28    阅读次数:268
156. Merge Intervals【LintCode by java】
Description Given a collection of intervals, merge all overlapping intervals. Description Description Given a collection of intervals, merge all overl ...
分类:编程语言   时间:2018-05-30 16:43:32    阅读次数:171
OracleBulkCopy
using Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data... ...
分类:数据库   时间:2018-05-29 23:37:03    阅读次数:370
2.1.4
question: Show, in the style of the example trace with ALGORITHM 2.2, how insertion sort sorts the array E A S Y Q U E S T I O N. answer: ...
分类:其他好文   时间:2018-05-29 16:21:10    阅读次数:157
Java Generic application
三、泛型概述和基本使用 * A:泛型概述 * 泛型的由来:通过Object转型问题引入 * 早期的Object类型可以接收任意的对象类型,但是在实际的使用中,会有类型转换的问题。也就存在这隐患,所以Java提供了泛型来解决这个安全问题。 解决方法: 扫盲点: public class Tool<Q> ...
分类:移动开发   时间:2018-05-28 19:21:16    阅读次数:191
1961条   上一页 1 ... 65 66 67 68 69 ... 197 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!